Fields.Update Method
Word Developer Reference |
Updates the result of the fields object.
Syntax
expression.Update
expression Required. A variable that represents a Fields collection.
Return Value
Long
Remarks
Returns 0 (zero) if no errors occur when the fields are updated, or returns a Long that represents the index of the first field that contains an error.
Example
This example updates all the fields in the main story (that is, the main body) of the active document. A return value of 0 (zero) indicates that the fields were updated without error.
Visual Basic for Applications |
---|
|
See Also