Office Settings & Configuration

Add Multiple Items to a Microsoft Word Drop-Down List with VBA

Steven ParkerSteven Parker Nov 25, 2026 868 views

Question details

The user wants to add many long choices to a Word template’s drop-down list without entering each choice through the control’s properties.

Add Multiple Items to a Microsoft Word Drop-Down List with VBA
Product
Microsoft Word
Device & OS
not provided
Scenario
A template needs a drop-down list content control populated with several predefined choices.
Observed behavior
The desired result is a template with all choices available in the drop-down list after a VBA macro initializes it.
Before you start

Open the template itself in a desktop version of Word that supports VBA, rather than creating a new document from it. Make sure the Developer tab is available and that your organization permits macros.

Solution 1Recommended

Populate a Word drop-down list content control with VBA

Use this method to initialize the choices in a template without adding them individually in the properties dialog.

This example applies to drop-down list content controls, not legacy form fields or ActiveX controls. It updates every drop-down content control titled Criterion in the active template and replaces its existing choices.

1
Open the template

In Word, select File > Open and open the template file itself. Use File > Save As and select Word Macro-Enabled Template (*.dotm) if the template is not already macro-enabled.

2
Insert and name the control

On the Developer tab, select Drop-Down List Content Control. Select the control, choose Properties, enter Criterion in the Title field, and select OK. If Developer is hidden, enable it in Word’s ribbon customization settings.

3
Add the macro

Select Developer > Visual Basic. In the editor, select the template’s project, choose Insert > Module, and paste this code: Sub PopulateCriterionList() Dim cc As ContentControl Dim found As Boolean For Each cc In ActiveDocument.ContentControls If cc.Type = wdContentControlDropdownList Then If cc.Title = "Criterion" Then found = True cc.DropdownListEntries.Clear cc.DropdownListEntries.Add "First long choice" cc.DropdownListEntries.Add "Second long choice" cc.DropdownListEntries.Add "Third long choice" End If End If Next cc If Not found Then MsgBox "No drop-down list titled Criterion was found." End Sub

4
Enter your choices

In the Visual Basic editor, replace the example text with your actual choices. Add another cc.DropdownListEntries.Add line for each item, and double any quotation marks that are part of a choice.

5
Run and save

Return to the open template, select Developer > Macros, choose PopulateCriterionList, and select Run. Open the drop-down to check the choices, then select File > Save.

Populate a Word drop-down list content control with VBA
The list is saved in the template: The entries remain in the control after initialization; the macro is not needed each time a new document is created. If you no longer need the code, remove the module and save a macro-free copy as a Word Template (*.dotx), then verify its drop-down list.
Free Microsoft Office alternative

Edit Word-Compatible Templates with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for Word formats, making it easy to move everyday documents between suites. The Word-specific VBA procedure above must be performed in Microsoft Word.

Open and edit Microsoft Word DOC and DOCX documentsWork with template-based documents in a familiar interfaceUse a free, lightweight suite for everyday office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does the macro say it cannot find Criterion?

Select the drop-down control in the open template, then choose Developer > Properties and check that its Title is exactly Criterion. Also confirm that it is a drop-down list content control, not a legacy or ActiveX control.

Will running the macro remove existing choices?

Yes. The DropdownListEntries.Clear line removes the existing choices before the Add lines insert the new ones. Edit the macro before running it if you need to retain any choices.

Do users need to run the macro every time they create a document?

No. Once the list is populated and the template is saved, new documents based on that template inherit the saved choices. The macro is useful again if you need to rebuild the list.

Will updating the template change documents already created from it?

No. The macro updates matching controls in the active template or document. Existing documents generally retain their own copies of the controls and need to be updated separately.

Can I save the template without macros after populating the list?

Yes. Remove the macro module if it is no longer needed, then use File > Save As and choose Word Template (*.dotx). Reopen the saved template and check that the choices are present.