A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do create a drop down list and then make multiple selections?



 
 
Thread Tools Display Modes
  #1  
Old March 21st, 2009, 02:16 PM posted to microsoft.public.word.newusers
brebner2
external usenet poster
 
Posts: 1
Default How do create a drop down list and then make multiple selections?

I am trying to make a letter that has sections where the user can select
multiple selections from a drop down list of recommendation codes. I only
want these selections to show when I print the letter.
  #2  
Old March 21st, 2009, 06:37 PM posted to microsoft.public.word.newusers
Jay Freedman
external usenet poster
 
Posts: 9,488
Default How do create a drop down list and then make multiple selections?

On Sat, 21 Mar 2009 07:16:01 -0700, brebner2
wrote:

I am trying to make a letter that has sections where the user can select
multiple selections from a drop down list of recommendation codes. I only
want these selections to show when I print the letter.


The dropdown form fields that you can insert in the body of the document cannot
do multiple selection, only single selection. The same is true of the combo box
and list controls from the Control Toolbox, and (in Word 2007) the combo box and
list content controls.

The one tool offered by Word that does allow multiple selection is the list box
control that you can put on a userform (a custom dialog programmed in VBA). See
http://www.word.mvps.org/FAQs/Userfo...eAUserForm.htm for an introduction.

In that list control, you can set the MultiSelect property to either
fmMultiSelectMulti or fmMultiSelectExtended (the difference is that
fmMultiSelectMulti lets the user simply click an item in the list to select or
deselect it, while fmMultiSelectExtended allows the use of the Shift key to
select a range of items or extend the selection, and Ctrl to select or deselect
individual items).

When the user clicks the OK button to close the userform, code (that you write)
can transfer the text of the selected items to the document body.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:00 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.