Permission & Access Issues

Protect Word Headers and Footers While Editing the Document Body

Maira MehtabMaira Mehtab Nov 27, 2026 868 views

Question details

Protect a Word letterhead's header and footer while keeping normal document body features available.

Protect Word Headers and Footers While Editing the Document Body
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.
Before you start

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.

Solution 1Recommended

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.

1
Save the letterhead as a template

Open the letterhead in Word, choose File > Save As, and select Word Macro-Enabled Template (*.dotm) as the file type.

2
Open the template's VBA project

Press Alt+F11 to open the Visual Basic Editor. In the template's project, open Microsoft Word Objects > ThisDocument.

3
Add the approved code

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.

4
Review existing restrictions

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.

5
Test a new document

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.

Use a Macro-Enabled Letterhead Template
Protection depends on macros: Macros can be disabled or bypassed, so this method is not a security boundary. If body features remain unavailable, review the existing restrictions and macro setup rather than assuming the code has removed them.
Free Microsoft Office alternative

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.

Edit letterhead text and document body content in a familiar interfaceOpen and save Microsoft Word DOCX files for easier migrationUse a free, lightweight office suite for everyday document work
microsoft office alternative - wps office

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.