Using a combo box control is a great way to simplify the use of a form. They help give your forms a professional and well-designed appearance. Combo boxes also allow you to select from a predefined list of options by clicking the drop-down arrow to the right of the combo box, or to type in your own responses in the entry field. Combo box controls are created in forms and stored in templates in Microsoft Word 2003.
- Skill level:
- Moderately Challenging
Other People Are Reading
Click "File" and "New" in the menu bar. Select "General Templates" from the pane on the right side of the window.
Highlight the template that contains the form where you want to add the combo box. Click the "OK" button.
Click "Tools," select "Macro" and choose "Visual Basic Editor" from the menu bar. Click the "+" beside "Forms." Double-click to open the form where you want to add the combo box.
Click in the form to bring up the "Toolbox." Select "ComboBox" from the "Controls" tab. Click in the form to create the combo box. The default name for the combo box is "ComboBox1."
Click in the form to deselect "ComboBox1." Select "View" and "Code" from the menu bar. Select "Initialize" from the "Procedure" drop-down box near the top right of the window.
Type "ComboBox1.List = Array("Value", "Value", "Value", "Value")" in the line created in the previous step. Replace "Value" with the words that you want to appear as selections for the user.
Select "Run" and "Run Sub/Userform" from the menu bar to test the combo box. Save the file.
Tips and warnings
- In Microsoft Word 2003, combo boxes must be created within a form.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for