Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Combo Box
I am new visual basic, I want to add a combo box to a word document, so that
a user can select from a drop-down menu, I used to use office 2000 and entered the values I wanted. Upgraded to Office XP, when I add the values I want to appear, nothing happened. Please help!!! |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Combo Box
Don't mess with anything on the Controls Toolbar until you know what you are
doing with vba. These are programming controls. You can put a drop-down menu in your document using the Forms toolbar. Start with that. This is what Word calls an "online form." Check this in help. For more about online forms, follow the links at http://addbalance.com/word/wordwebresources.htm#Forms or http://word.mvps.org/FAQs/Customizat...nTheBlanks.htm especially Dian Chapman's series of articles. You may also want to look at http://www.word.mvps.org/FAQs/TblsFl...nesInForms.htm. Hope this helps, -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! My criminal defense site: http://addbalance.com --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Nick2006" wrote in message ... I am new visual basic, I want to add a combo box to a word document, so that a user can select from a drop-down menu, I used to use office 2000 and entered the values I wanted. Upgraded to Office XP, when I add the values I want to appear, nothing happened. Please help!!! |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Combo Box
Something like:
Sub AutoNew() Dim myCB As ComboBox Set myCB = ThisDocument.myCB With myCB .Clear .AddItem "A" .AddItem "B" .AddItem "etc." End With End Sub and in and AutoOpen macro. -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Nick2006 wrote: I am new visual basic, I want to add a combo box to a word document, so that a user can select from a drop-down menu, I used to use office 2000 and entered the values I wanted. Upgraded to Office XP, when I add the values I want to appear, nothing happened. Please help!!! |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Combo Box | Microsoft Word Help | |||
Cut and paste contents of combo box to non word program | Microsoft Word Help | |||
Multiple combo boxes in Word | Microsoft Word Help | |||
Create Protected Word template that uses combo box & combo box val | Microsoft Word Help | |||
how do i add text to a combo box in word? | Microsoft Word Help |