I want to select more than 1 choice in drop-down menu

G

Guest

I am wanting a drop - down menu with multiple anesthisia choices, BUT I want
to be able to select more than 1 choice if multiple agents are used in a
procedure.
I am new to drop-downs, thanks.
 
J

Jay Freedman

On Sat, 21 Apr 2007 10:16:01 -0700, SD Quilter <SD
I am wanting a drop - down menu with multiple anesthisia choices, BUT I want
to be able to select more than 1 choice if multiple agents are used in a
procedure.
I am new to drop-downs, thanks.

The dropdown form field on the Forms toolbar can't do that at all.
(Besides, how would it display more than one selection after the
cursor leaves the field and the list collapses?)

You need to create a UserForm (a custom dialog box) and place a
listbox on it. In the properties of the listbox, you can set its
MultiSelect property to allow more than one selection. When the user
clicks the OK button in the UserForm to dismiss it, VBA code in the
UserForm has to write all the selected items into some place in the
document.

There's a short tutorial on UserForms at
http://www.word.mvps.org/FAQs/Userforms/CreateAUserForm.htm, although
it doesn't talk about listboxes. If you need help with the
programming, amble over to microsoft.public.word.vba.userforms
(http://www.microsoft.com/communitie...t.aspx?dg=microsoft.public.word.vba.userforms).

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
G

Guest

Thank you! That is exactly the info I needed. I really appreciate your
response as this is the first time I posted a question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top