Document Editing Problems

Link a Word Drop-Down Content Control to Rich Text in a Footer

Jason MillerJason Miller Nov 25, 2026 868 views

Question details

Automatically update a rich text content control when a user selects an option from a Word drop-down content control.

Link a Word Drop-Down Content Control to Rich Text in a Footer
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.
Before you start

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.

Solution 1Recommended

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.

1
Tag the drop-down

Select the drop-down control, open Developer > Properties, and set its Tag to SourceDropdown.

2
Tag the footer control

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.

3
Add the event code

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

4
Save and test

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.

Update the footer control with a Word VBA exit event
Footer and timing limits: The example updates the first matching control in section 1's primary footer. Change the section or footer type if the target is in a different, first-page, or even-page footer. Word has no built-in ContentControlOnChange event; an immediate update requires a more complex custom event approach.
Free Microsoft Office alternative

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.

Edit document text and footer content in WPS WriterCompatible with Microsoft Word DOC and DOCX formatsFamiliar editing interface for a smoother move from OfficeFree, lightweight office suite
microsoft office alternative - wps office

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.