How to Automate Word Templates to Insert Building Blocks Using Content Controls
Question details
The user wants to configure a Word template so that selecting a specific product name from a dropdown menu automatically populates a corresponding product description using building blocks.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating an automated document template that pairs product names with their predefined rich-text descriptions.
- Observed behavior
- The user requires a workflow where a top-level field selection dynamically triggers the insertion of targeted building blocks into the document body.
Ensure that the Developer tab is enabled in your Microsoft Word ribbon to access Content Controls, and back up your current template file before modifying Custom XML parts or adding VBA macros.
Use the Building Blocks Gallery Content Control (No-Code Alternative)
This is the simplest, macro-free approach. It allows users to select predefined formatted text blocks directly from a specialized document dropdown.
Instead of trying to program a standard text dropdown to trigger an action, Microsoft Word provides a dedicated Building Blocks Gallery Content Control. This natively handles inserting rich-text AutoText entries without requiring VBA programming.
Navigate to File > Options > Customize Ribbon. In the right-hand column, check the box next to 'Developer' and click OK.
Place your cursor where the description should appear. Go to the Developer tab, find the Controls group, and click the 'Building Block Gallery Content Control' icon.
With the control selected, click 'Properties' in the Developer tab. Under the Document Building Block Properties section, select the specific Gallery (e.g., AutoText) and Category where you have saved your product descriptions.

Use Custom XML Mapping and VBA Event Monitors
A fully automated method for advanced templates where selecting a plain text product name from a dropdown instantly updates a separate rich-text area using macros.
Create Professional Templates with WPS Office
If wrestling with VBA event monitors and Custom XML bindings in Microsoft Word is slowing down your document creation, consider WPS Office. It provides a lightweight, highly compatible alternative with straightforward document formatting and AutoText features to help you build templates easily.
- 1. Download WPS Office: Install the free WPS Office suite on your preferred operating system.
- 2. Open Your Existing Templates: Launch WPS Writer and open your standard .docx or .doc files; WPS maintains excellent format compatibility.
- 3. Utilize AutoText: Highlight your product descriptions and save them to the AutoText gallery for quick, easy insertions into any future document.

Frequently Asked Questions
What is a Building Blocks Gallery content control?
It is a specific type of content control in Word that provides a dropdown menu of pre-formatted text, images, or tables (Building Blocks/AutoText). Instead of typing, users simply pick a formatted block from the list to insert it directly into the document.
Can I link a standard dropdown list directly to a building block without VBA?
No, natively a standard Dropdown List Content Control only outputs plain text. To insert formatted building blocks without writing VBA code, you must use the specific Building Blocks Gallery content control instead.
Why aren't my VBA macros running in my Word template?
For VBA macros and CustomXMLPart event monitors to work, your document must be saved as a Macro-Enabled Template (.dotm) or Macro-Enabled Document (.docm). Additionally, your Trust Center security settings must be configured to allow macros to run.
How do I save text as a Building Block or AutoText?
Select the text or object you want to save. Go to the Insert tab, click Quick Parts in the Text group, and choose 'Save Selection to Quick Part Gallery' or 'AutoText'. Assign it a name and choose the appropriate category.




