VBA & Macro Problems

How to Create Multiple PowerPoint Drop-Down Lists with VBA

Steven ParkerSteven Parker Nov 3, 2026 870 views

Question details

The user needs to create multiple functional drop-down lists (Combo Boxes) across PowerPoint slides and wants to know if text can wrap inside these controls.

How to Create Multiple Drop-Down Lists in PowerPoint Using VBA
Product
PowerPoint
Device & OS
not provided
Scenario
Creating an interactive presentation with 7 identical combo box controls, each containing 11 choices, using Developer tab tools.
Observed behavior
The first Combo Box works correctly, but subsequent drop-down lists fail to function. The user is also unsure how to display long text options that require wrapping inside the list.
Before you start

Ensure the Developer tab is enabled in your PowerPoint ribbon and that your file is saved as a Macro-Enabled Presentation (.pptm) so that your VBA scripts can run properly.

Solution 1Recommended

Assign Unique Names and Separate VBA Routines

Resolve the issue of non-working duplicate drop-down lists by giving each Combo Box a unique identifier and updating your VBA code to target them correctly.

When you copy and paste an ActiveX Combo Box in PowerPoint, the new control often lacks the proper initialization code, or the existing macro continues to target only the first control. To make multiple drop-down lists work, you must identify each control uniquely and ensure your VBA script populates all of them.

1
Rename the New Combo Box

Select your second drop-down list on the slide. Go to the Developer tab, click 'Properties', and change the '(Name)' field to a unique identifier, such as 'ComboBox2'.

2
Open the VBA Editor

Press Alt + F11 to open the Visual Basic for Applications editor. Locate the slide module where your original Combo Box code is stored.

3
Duplicate the Initialization Code

Find the routine that populates your first list (e.g., using .AddItem). Copy that block of code and paste it below, changing the target name to 'ComboBox2' so the second list receives the 11 choices.

4
Run the Initialization Macro

Save your code and run the initialization macro (often triggered by an 'OnSlideShowPageChange' event or a separate setup button) to populate all 7 Combo Boxes.

Assign Unique Names and Separate VBA Routines
Text Wrapping Limitations in Combo Boxes: ActiveX Combo Boxes in PowerPoint do not support text wrapping. If your 11 choices contain long text, consider using shorter labels in the drop-down. Alternatively, you can write VBA code that updates a separate, larger Text Box with the full text whenever a user selects a short label from the list.
Free Microsoft Office alternative

Deliver Interactive Presentations Seamlessly with WPS Office

Struggling with complex VBA macros, ActiveX controls, and compatibility issues? Consider using WPS Office. It provides a highly compatible, lightweight, and free alternative to Microsoft PowerPoint, ensuring your presentations run smoothly without needing advanced programming skills.

  1. 1. Download and Install: Get the free WPS Office suite from the official website and install it on your device.
  2. 2. Open Your Presentation: Launch WPS Presentation and directly open your existing .pptx files.
  3. 3. Present with Ease: Enjoy seamless editing, formatting, and presenting without worrying about complex legacy macro controls breaking during your slideshow.
Highly compatible with Microsoft PowerPoint (.pptx) formatsLightweight design ensures smooth playback even with rich media and animationsUser-friendly interface requiring no advanced VBA knowledge for standard featuresCompletely free to download and use for your everyday presentation needs
microsoft office alternative - wps office

Frequently Asked Questions

Why are my PowerPoint drop-down lists empty during the slideshow?

Combo Boxes do not automatically populate with data. They need to be filled using a VBA initialization macro (using the .AddItem method). If the macro hasn't run, or if macros are disabled in your Trust Center settings, the lists will remain empty.

How do I enable the Developer tab to add a Combo Box?

Go to File > Options > Customize Ribbon. In the right pane, locate and check the box next to 'Developer', then click OK. The Developer tab will now appear on your ribbon, granting access to ActiveX controls.

Can I resize the drop-down list font in PowerPoint?

Yes. Select the Combo Box, click 'Properties' on the Developer tab, and look for the 'Font' row. Click the ellipsis (...) button next to it to adjust the font style and size for the items inside the drop-down list.