Make Part of a Microsoft Word Header or Footer Editable
Question details
The user wants to let people update specific information in a Word header or footer while protecting the surrounding content.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document owner needs users to supply a value that appears in a restricted header or footer.
- Observed behavior
- Users can change the designated value without editing the rest of the header or footer.
Decide which value users need to change and where they can enter it in the document body. If editing restrictions are already active, turn them off through Review > Restrict Editing before setting up the fields.
Link a document property to the header or footer
Use matching document property controls when users can enter the value in the body instead of editing the header or footer directly.
Controls for the same document property display the same value. Choose a property that is not already used for another purpose.
Double-click the header or footer. Place the cursor where the value should appear, then choose Insert > Quick Parts > Document Property and select a suitable property.
Close the header or footer and click where users should enter the value. Choose Insert > Quick Parts > Document Property and select the same property.
Select the body control, then open Review > Restrict Editing. Under Editing restrictions, choose No changes (Read only), and use Exceptions to allow Everyone or specified users to edit the selected area.
Click Yes, Start Enforcing Protection. Edit the allowed body control and leave it to check that the matching value appears in the header or footer while the surrounding content remains protected.

Display body text in the header or footer with a StyleRef field
Use this method when the value can appear in the document body with a dedicated style.
Work with Word documents in WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its format support makes moving everyday documents straightforward, although it does not fix Word-specific protection or field behavior.

Frequently Asked Questions
Can users edit the value without opening the header or footer?
Yes. Insert the same document property control in the body and in the header or footer through Insert > Quick Parts > Document Property. Allow users to edit the body control.
How do I protect the rest of the Word document?
Open Review > Restrict Editing, select No changes (Read only), and add an exception for the body area users need to edit. Then click Yes, Start Enforcing Protection.
Why does my StyleRef field show the wrong text?
StyleRef looks for text using the selected style. Check Home > Styles and make sure the dedicated style is not applied to unrelated text, then right-click the field and choose Update Field.
Can a form collect a value for the footer instead?
Yes. In Word, a VBA InputBox or UserForm can collect a value and store it as a document variable. A DocVariable field inserted through Insert > Quick Parts > Field can display that value in the footer; the field must be updated after the variable changes.




