Microsoft Word Userform - multi-select list box

S

ShakeandBake

We are in the process of creating a userform and would like to put a
multi-select list box on the form so that the user can select multiple
selections from the list and have them appear on the completed form. I know
I must go into the control box and use the list box but I don't know the VB
code to get this to work. I would appreciate any help anyone can provide.
Thanks so much.
 
B

Beth Melton

You need to loop through the list collection and check to see if the list
item is selected. If so, store the data in variable which would ultimately
contain a list of concatenated list items. If you don't know how to create a
loop then you may want to post in the Word Programming newsgroup, someone
there may be able to point you to a FAQ. Someone may have one on how to use
a multi-select list box.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
https://mvp.support.microsoft.com/profile/Melton
What is a Microsoft MVP? http://mvp.support.microsoft.com/gp/mvpfaqs

Guides for the Office 2007 Interface:
http://office.microsoft.com/en-us/training/HA102295841033.aspx
 
Top