Update Word Cross-References Without Changing a Custom Table of Contents
Question details
The user wants to update Word cross-references without regenerating a manually formatted table of contents.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document contains cross-references and a table of contents with custom manual formatting.
- Observed behavior
- Updating all fields can regenerate the table of contents and remove its manual formatting.
Identify the cross-references that need updating and check whether the table of contents contains manual formatting. If you plan to use a macro, open the document in a desktop version of Word that supports VBA.
Update Cross-References Individually
Use this method when only a few cross-references need updating and you want to leave the table of contents untouched.
In the document body, click a cross-reference that needs to reflect a changed heading, caption, or page number.
Right-click the cross-reference and select Update Field. Repeat for each cross-reference that needs updating.
Review the updated references and the table of contents in the document. Avoid selecting the entire document and updating all fields.

Lock Table-of-Contents Fields While Updating Document Fields
Use a VBA macro to temporarily lock table-of-contents fields and update fields in the main document.
Edit Word Documents With WPS Writer
WPS Office is a free, lightweight alternative for editing documents in a familiar interface. Open compatible Word files in WPS Writer for an easy transition; the Word-specific field-locking macro above should be run in Microsoft Word.

Frequently Asked Questions
Why does updating all fields change my table of contents?
The table of contents is a Word field. Updating it can regenerate its entries and replace formatting applied manually inside the table.
Can I update one cross-reference without updating the table of contents?
Yes. Right-click the cross-reference in the document body and select Update Field. Repeat for other references as needed.
Does the macro update fields in headers and footers?
The macro updates fields in the active document's main story. Check headers, footers, and other areas separately and update their fields if needed.
Will the macro preserve fields that were already locked?
No. Its final loop unlocks the fields in each table of contents, including any that were locked before the macro ran. Check existing locks before using it.




