Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hi all,
I would like to create a form letter in Word that includes a way for users to select more than one item from a drop-down list or a pop-up list. Any suggestions please? Thank you! |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
AFAIK, no - the purpose of the List is to limit the user to one item. If you
want users to select multiple items you might consider using checkboxes or more than one list. -- Regards |:) Bob Jones [MVP] Office:Mac "kmoses" wrote in message ... Hi all, I would like to create a form letter in Word that includes a way for users to select more than one item from a drop-down list or a pop-up list. Any suggestions please? Thank you! |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
You would have to use a UserForm with a multi-select listbox.
Something this: Create a userform with a listbox to contain names and a command button. In the docucment template incorporate a bookmark "Names" where you want the selection of names to appear. Populate the list of names using the Userform initialize event. Insert the selected names at the bookmark using the command button click event. Private Sub UserForm_Initialize() With Me.ListBox1 .AddItem "Bill" .AddItem "Joe" .AddItem "Tom" .AddItem "Mary" End With End Sub Private Sub CommandButton1_Click() Dim pNames As String Dim i As Long pNames = "" With Me.ListBox1 For i = 0 To .ListCount - 1 If .Selected(i) Then pNames = pNames & .List(i) & ", " End If Next i End With pNames = Left(pNames, Len(pNames) - 2) 'Strip off last comma and space. ActiveDocument.Bookmarks("Names").Range.InsertAfte r pNames Unload Me End Sub kmoses wrote: Hi all, I would like to create a form letter in Word that includes a way for users to select more than one item from a drop-down list or a pop-up list. Any suggestions please? Thank you! |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Word should catalog misspelled words to study. | Microsoft Word Help | |||
Converting WordPerfect 12 files to Word 2003 | New Users | |||
Change paper size; Word changes to invalid margins | New Users | |||
Converting Word Perfect forms to Word forms | Microsoft Word Help | |||
question on checkboxes/protected forms and fill-in fields | Microsoft Word Help |