Document Editing Problems

Why Word SET and REF Field Values Change When Updated

Huma Ashraf ChHuma Ashraf Ch Nov 22, 2026 868 views

Question details

Understand why Word SET and REF fields can display different values after field codes are viewed or fields are updated.

Why Word SET and REF Field Values Change When Updated
Product
Microsoft Word
Device & OS
not provided
Scenario
A document assigns a value with a SET field and displays it with one or more REF fields.
Observed behavior
An earlier field result may still display a previous value while a later result shows the current value.
Before you start

Locate the affected SET and REF fields and identify the bookmark name they share. Select a field and press Shift+F9 to inspect its code; Shift+F9 toggles the display but does not update the field.

Solution 1Recommended

Update the REF field after checking SET assignments

Use this approach when an earlier REF result shows an old value after a later SET field changes the same bookmark.

A bookmark set by a SET field has one current value, but Word does not automatically revisit earlier displayed field results when a later SET field is evaluated. A REF field can therefore continue to show an earlier value until it is updated.

For example, if SET assigns ArrTo the value “This,” a REF field displays it, and a later SET assigns ArrTo “That,” the earlier REF result can still show “This.” Updating that REF field after the later assignment has been evaluated should display “That.”

1
Inspect the field codes

Select each affected field and press Shift+F9. Look for SET and REF fields that use the same bookmark name, such as ArrTo.

2
Check the assignment order

Read the SET fields in document order and identify the assignment whose value you want the REF field to display. If necessary, select that SET field and press F9 to evaluate it.

3
Update the displayed reference

Select the earlier REF field and press F9, or right-click it and choose Update Field. Check that its result now matches the current bookmark value.

4
Review assignments if values change again

If updating fields produces an unexpected result, inspect and update the relevant SET fields in the intended order, then update the REF fields again. Updating a SET field can assign its value again.

Update the REF field after checking SET assignments
SET and REF have different roles: SET assigns text to a bookmark and normally has no visible result; REF displays the bookmarked value. Updating an earlier SET field may restore its assignment rather than display the later value.
Free Microsoft Office alternative

Edit Word Documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its Microsoft Office format compatibility helps you move existing files into WPS Writer; test specialized fields before relying on them.

Open and edit Microsoft Word DOC and DOCX filesReview document text and references in WPS WriterUse a familiar interface for everyday document editingMove existing Office documents into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Does Shift+F9 update a Word field?

No. Select a field and press Shift+F9 to toggle between its code and result. To update the selected field, press F9 or right-click it and choose Update Field.

Why do two REF fields show different values for the same bookmark?

One REF result may have been calculated before a later SET field changed the bookmark. Select the earlier REF field and press F9 after the intended SET assignment has been evaluated.

What happens if I update an earlier SET field?

Word evaluates that SET field again, which can assign its value to the bookmark. Check the SET assignments in document order and update the desired assignment before updating the REF fields.

Why does a calculation using a field value fail?

The referenced value may contain unintended characters or may not be valid for the calculation. Press Shift+F9 on the field to inspect its code, then check the referenced SET field or bookmarked text and update the fields with F9.