Why Word SET and REF Field Values Change When Updated
Question details
Understand why Word SET and REF fields can display different values after field codes are viewed or fields are 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.
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.
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.”
Select each affected field and press Shift+F9. Look for SET and REF fields that use the same bookmark name, such as ArrTo.
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.
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.
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.

Check numeric field values for extra characters
Use this check if a field or calculation returns an unexpected numeric result or an error.
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.

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.




