Document Editing Problems

How to Create a Word Dropdown List That Displays Different Content

Tauseeq MagsiTauseeq Magsi Nov 2, 2026 869 views

Question details

The user wants to set up a dynamic laboratory report where selecting a specific test from a dropdown automatically displays its corresponding equipment, procedures, and image requirements.

How to Make a Word Dropdown List Display Different Bookmarked Content on Mac
Product
Microsoft Word 2021
Device & OS
macOS
Scenario
Creating an interactive laboratory report form with conditional content based on user selections from a dropdown menu.
Observed behavior
The user needs a method to dynamically show or hide specific document sections, such as bookmarked text and images, triggered by changing the value of a dropdown list.
Before you start

Ensure the Developer tab is enabled in your Word preferences, as you will need access to legacy form controls, bookmarks, or the VBA macro editor.

Solution 1Recommended

Use Legacy Dropdown Fields and Conditional IF Statements

This method utilizes Word's built-in field codes to conditionally display text based on a legacy dropdown selection, requiring no VBA programming.

This approach is highly effective for inserting text-based conditional content. Note that you must use Legacy Form fields instead of modern Content Controls for this specific built-in functionality.

1
Insert a Legacy Dropdown Form Field

Navigate to the Developer tab, insert a Legacy Drop-Down Form Field, and double-click it to open its properties. Assign it the bookmark name 'ddMain' and add your list items (e.g., Test A, Test B, Test C).

2
Enable Calculation on Exit

In the same Drop-Down Form Field Options window, ensure the box for 'Calculate on exit' is checked. This tells Word to update the document fields whenever the user changes the dropdown selection.

3
Insert Conditional IF Fields

Click where you want the conditional text to appear. Press Cmd+F9 to insert functional field braces {}. Inside the braces, construct your logic: { IF { REF ddMain } = "Test A" "Output for Test A" }. Repeat this step for Tests B and C.

4
Lock the Document

To test the dropdown, you must restrict editing. Go to the Developer tab, select 'Protect Form' or restrict editing to 'Filling in forms'. Change the dropdown value and click away to see the content update.

Use Legacy Dropdown Fields and Conditional IF Statements
Keyboard Shortcut Note: On a Mac, you must press Cmd+F9 (or Cmd+Fn+F9 depending on your keyboard settings) to insert the field code braces. Typing curly brackets manually with the keyboard will not work.
Free Microsoft Office alternative

Create and Edit Complex Documents Easily with WPS Office

If managing legacy form fields, field codes, and VBA macros in Word for Mac feels overly complicated, try WPS Office. It provides a highly compatible and intuitive interface for designing professional reports, forms, and documents without the hassle.

  1. 1. Download WPS Office: Visit the official WPS Office website and download the installer for macOS.
  2. 2. Install the Application: Open the downloaded package and follow the on-screen instructions to install WPS Office on your Mac.
  3. 3. Open Your Document: Launch WPS Office and open your .docx file to seamlessly continue formatting your interactive reports.
Fully compatible with Microsoft Word (.docx and .docm) formats, ensuring seamless file sharing.Rich document formatting tools for creating structured reports and laboratory forms.Free and lightweight, offering a familiar user interface with no steep learning curve.Cross-platform support across macOS, Windows, iOS, and Android.
microsoft office alternative - wps office

Frequently Asked Questions

Why aren't my IF field codes updating automatically after making a selection?

Field codes do not always update in real-time. You must ensure you have checked the 'Calculate on exit' box in the dropdown's properties. Additionally, the document must be protected for 'Filling in forms' for the exit trigger to execute properly.

Can I hide images or tables using the IF field method?

The standard IF field method is primarily designed for plain text. While it can sometimes handle simple inline graphics, hiding or showing complex elements like tables, extensive formatting, or floating images is best handled using Bookmarks combined with a VBA macro.

How do I type the curly braces for field codes on Mac?

You cannot type the curly braces manually using the standard keyboard brackets { }. You must press Cmd+F9 (or Cmd+Fn+F9 depending on your Mac's keyboard configuration) to insert functional field code braces that Word recognizes.

Why does my VBA macro not run on Word for Mac?

Word for Mac has strict security and sandbox restrictions. Ensure macros are enabled in your Trust Center settings, the document is saved in a Macro-Enabled format (.docm), and verify that your VBA syntax does not rely on Windows-specific ActiveX controls which are not supported on macOS.