Field.Update method (Word)
Updates the result of the field. Returns True if the field is updated successfully.
expression.Update
expression Required. A variable that represents a 'Field' object.
Boolean
This example updates the first field in the active document. A return value of 1 (True) indicates that the fields were updated without error.
If ActiveDocument.Fields(0).Update = 1 Then
MsgBox "Update Successful"
Else
MsgBox "Field " & ActiveDocument.Fields(0).Update & _
" has an error"
End If
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.