Template Issues

How to Fix Word Changing Header and Footer Styles When Saving

Rana GarciaRana Garcia Nov 2, 2026 870 views

Question details

The user needs to stop Word from automatically applying a 'List Paragraph' numbered format to headers and footers every time a specific DOCM file is saved.

How to Fix Word Changing Header and Footer Styles When Saving
Product
Microsoft Word
Device & OS
not provided
Scenario
Saving a DOCM (macro-enabled) template or document without making manual formatting changes.
Observed behavior
Headers and footers originally formatted as normal text automatically change to a numbered list style upon saving. Reverting the style to Normal and saving again causes the issue to repeat.
Before you start

Create a backup copy of your DOCM file before modifying its template settings or macros so you have a safe version to return to if needed.

Solution 1Recommended

Disable Automatic Style Updates from the Template

Prevent Word from overriding your document's current formatting with the attached template's styles whenever the file is saved or opened.

When a document is linked to a template with the 'Automatically update document styles' setting enabled, Word refreshes the styles upon saving. If the template contains corrupted numbering definitions for the Normal or Header styles, this refresh will forcefully apply those unwanted formats.

1
Enable the Developer Tab

If you don't see the Developer tab on your ribbon, go to File > Options > Customize Ribbon, check the 'Developer' box in the right column, and click OK.

2
Open Template Settings

Navigate to the Developer tab and click on 'Document Template' in the Templates group to open the Templates and Add-ins dialog box.

3
Disable Style Updates

Under the 'Templates' tab, locate the checkbox labeled 'Automatically update document styles' and uncheck it.

4
Apply and Save

Click OK to apply the changes. Reformat your headers and footers to the Normal style, then save the document to verify that the formatting remains stable.

Disable Automatic Style Updates from the Template
Formatting Preserved: Disabling this setting ensures that your manual formatting changes in the document are not overwritten by template defaults.
Free Microsoft Office alternative

Try WPS Office for Stable Document Formatting

If Microsoft Word continues to struggle with template style conflicts and unexpected macro behaviors, consider switching to WPS Office. It provides a lightweight, highly compatible environment that preserves your intended formatting natively.

Free to use with a familiar, intuitive interface.Highly compatible with Microsoft Word formats, including DOC, DOCX, and DOTM.Stable document formatting without unexpected style overrides upon saving.Lightweight software that runs smoothly on Windows, Mac, Linux, and mobile devices.
QA img-9

Frequently Asked Questions

Why do my Word document styles change automatically when I open or save it?

This usually happens because the 'Automatically update document styles' setting is enabled in your Templates and Add-ins menu. This setting forces the document to sync its formatting with the attached template, overriding any manual changes you made.

How do I remove unwanted numbered lists from my header and footer?

Double-click the header or footer area to activate it. Select the numbered text, navigate to the Home tab, and click the 'Numbering' icon in the Paragraph group to toggle it off. You may also need to apply a clean 'Header' or 'Normal' style from the Styles gallery.

Can a macro in a DOCM file change my document formatting when saving?

Yes. DOCM files can contain Visual Basic for Applications (VBA) macros that are triggered by specific events, such as saving the document. If a developer included formatting commands in a 'BeforeSave' macro, it will alter your text styles automatically without any manual input.