Link a Word Drop-Down Content Control to Rich Text in a Footer
Question details
Automatically update a rich text content control when a user selects an option from a Word drop-down content control.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document contains a drop-down control and a rich text control, which may be located in a footer.
- Observed behavior
- The rich text control should reflect the selected drop-down value after the user leaves the drop-down control.
Open the document in desktop Word and make sure the Developer tab is visible. Add the drop-down and rich text content controls, and check which section and footer contain the target control.
Update the footer control with a Word VBA exit event
Use this method to copy the selected text when the user leaves the drop-down control.
The Document_ContentControlOnExit event runs when a user exits a content control. The macro checks the drop-down's tag before updating the target, so exiting other controls does not trigger the copy.
This example targets a rich text control in the primary footer of section 1. It replaces the target control's existing text; adapt the code if you need different text for each selection.
Select the drop-down control, open Developer > Properties, and set its Tag to SourceDropdown.
Open the footer, select the rich text content control, and use Developer > Properties to set its Tag to FooterRichText. Make sure its contents are not locked.
Open Developer > Visual Basic. In the project's ThisDocument module, paste: Private Sub Document_ContentControlOnExit(ByVal ContentControl As ContentControl, Cancel As Boolean) Dim target As ContentControl If ContentControl.Tag <> "SourceDropdown" Then Exit Sub For Each target In ThisDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.ContentControls If target.Tag = "FooterRichText" And target.Type = wdContentControlRichText Then target.Range.Text = ContentControl.Range.Text Exit For End If Next target End Sub
Use File > Save As to save the document as a Word Macro-Enabled Document (.docm). Enable macros if prompted and trusted, select a drop-down option, and click outside the control to check the footer.

Edit Word documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for editing documents and moving between Office formats. Use Microsoft Word for the VBA event solution above; WPS does not fix Word's content control event behavior.

Frequently Asked Questions
When does the rich text control update?
The example updates it when you leave the tagged drop-down control. Select an option and click outside the control to trigger Document_ContentControlOnExit.
Why is my footer control not updating?
Check the tags under Developer > Properties, confirm that macros are enabled, and verify that the target is an unlocked rich text control in section 1's primary footer. Use File > Save As to confirm the document is saved as a .docm file.
Can I find the target control by title instead of its footer position?
Yes. VBA can use ThisDocument.SelectContentControlsByTitle("CC Title") or SelectContentControlsByTag("CC Tag"). Check that the returned collection contains a control before accessing its first item.
Can Word update the text immediately after a selection?
Word does not provide a built-in ContentControlOnChange event. An immediate update requires a custom event approach; the simpler Document_ContentControlOnExit event waits until the user leaves the control.




