Protect Word Headers and Footers While Editing the Document Body
Question details
Protect a Word letterhead's header and footer while keeping normal document body features available.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A letterhead template needs to discourage changes to its header and footer without restricting ordinary body editing.
- Observed behavior
- The current document protection prevents header and footer changes but also disables body features such as Shapes and Design.
Use a desktop version of Word that supports VBA macros, and obtain the approved Word MVP header and footer protection code from a trusted source. Check whether your organization permits macros in letterhead templates.
Use a Macro-Enabled Letterhead Template
Use the Word MVP macro approach to protect the letterhead without relying solely on restrictive document editing protection.
The macro approach is intended to discourage header and footer changes while allowing body editing. Adding code alone may not restore features disabled by an existing editing restriction, so test the result in your Word environment.
Open the letterhead in Word, choose File > Save As, and select Word Macro-Enabled Template (*.dotm) as the file type.
Press Alt+F11 to open the Visual Basic Editor. In the template's project, open Microsoft Word Objects > ThisDocument.
Paste the approved code from the Word MVP method for preventing header and footer edits into ThisDocument. Follow the method's instructions for any additional setup, then save the template.
In Word, open Review > Restrict Editing. If an existing restriction is disabling body features, remove it only if you are authorized and have any required password.
Create a document from the template using File > New, enable its macros only if the template is trusted and your policy permits it, and try editing the header, footer, body, Shapes, and Design features.

Edit Letterhead Documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for editing and sharing Office documents. It can help you work with existing letterhead files, but it does not fix Word's protection settings or guarantee the same VBA behavior.

Frequently Asked Questions
Why are Shapes and Design unavailable in my protected Word document?
An editing restriction may disable features beyond header and footer editing. Open Review > Restrict Editing to inspect the active restriction; removing it may require authorization and a password.
Where should I put the header and footer protection code?
In the macro-enabled template, press Alt+F11 and open Microsoft Word Objects > ThisDocument in the template's VBA project. Paste the approved code there and follow its setup instructions.
Will the macro protect the letterhead if macros are disabled?
No. The macro must be allowed to run for its protection behavior to work. Enable macros only for a trusted template and only when your organization's policy permits it.
Does a macro-enabled template guarantee that every body feature will work?
No. Existing restrictions, macro settings, and the specific code can affect the result. Create a document from the template and test the header, footer, Shapes, and Design features.




