How to Prevent Word Cross-References from Changing Font and Style
Question details
The user needs to prevent cross-references in Word documents from changing their font, color, or overall formatting when the fields are updated.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Updating document fields that contain cross-references to captions with direct, manual formatting applied to them.
- Observed behavior
- Cross-references unexpectedly inherit the font, color, or formatting of the original source caption instead of matching the surrounding paragraph text.
Ensure your document fields are visible by pressing Alt + F9 (or Fn + Alt + F9 on some laptops) so you can directly view and edit the underlying field codes.
Modify Field Code with the CHARFORMAT Switch
Manually editing the cross-reference field code forces it to retain the formatting applied directly to the field itself, ignoring the source caption's formatting.
By default, cross-references might use the MERGEFORMAT switch or lack a formatting switch altogether, causing them to inherit direct formatting from the target text. The CHARFORMAT switch is the most reliable way to lock in your desired font style.
Press Alt + F9 to toggle field codes and reveal the underlying code for your cross-references. The text will change to look something like { REF _Ref123456789 }.
Locate the cross-reference field code you want to fix. If you see \* MERGEFORMAT inside the brackets, delete it.
Type \* CHARFORMAT at the end of the field code before the closing bracket. It should now look like { REF _Ref123456789 \* CHARFORMAT }.
Select the entire field code (including the brackets) and apply your desired font, size, and color using the Home tab.
Press Alt + F9 again to hide the field codes, select the cross-reference text, and press F9 to update it with the new formatting rules locked in.

Use Caption Styles Instead of Direct Formatting
A long-term solution to prevent this issue is avoiding direct formatting on your captions, as cross-references automatically inherit non-style formatting.
Manage Cross-References Easily with WPS Writer
WPS Writer provides robust handling of field codes, cross-references, and document styles, allowing you to maintain strict control over your formatting without unexpected changes upon updating.
- 1. Open Document in WPS Writer: Launch WPS Office and open your .docx file containing the problematic cross-references.
- 2. Toggle Field Codes: Right-click the specific cross-reference and select 'Toggle Field Codes', or simply press Alt+F9 on your keyboard.
- 3. Apply Formatting Switch: Add the \* CHARFORMAT switch to the field code, format the text block to your liking, and press F9 to update.

Frequently Asked Questions
Why does my cross-reference format differently than the surrounding text?
When a cross-reference updates, it often pulls direct formatting from the source text (such as a figure caption). If the source was manually made bold or given a different color outside its default paragraph style, the cross-reference will inherit those specific manual changes.
What is the difference between MERGEFORMAT and CHARFORMAT?
MERGEFORMAT attempts to preserve the formatting applied to previous results of the field, which can sometimes lead to inconsistent formatting during document updates. CHARFORMAT is much stricter and applies the exact formatting of the first character of the field code itself to the entire result.
How do I update all cross-references in my document at once?
Press Ctrl + A to select your entire document, then press F9. This will force all fields, including cross-references, table of contents, and page numbers, to update their text and apply any updated formatting switches like CHARFORMAT.




