Field.Update Method (Word)

Updates the result of the field. Returns True if the field is updated successfully.

Syntax

expression .Update

expression Required. A variable that represents a Field object.

Return Value

Boolean

Example

This example updates the first field in the active document. A return value of 0 (zero) indicates that the fields were updated without error.

If ActiveDocument.Fields(0).Update = 0 Then 
 MsgBox "Update Successful" 
Else 
 MsgBox "Field " & ActiveDocument.Fields(0).Update & _ 
 " has an error" 
End If

See Also

Concepts

Field Object Members

Field Object