Selection.PreviousField Method
Word Developer Reference |
Selects and returns the previous field.
Syntax
expression.PreviousField
expression Required. A variable that represents a Selection object.
Return Value
Field
Remarks
If this method finds a field, it returns a Field object; if not, it returns Nothing.
Example
This example updates the previous field (the field immediately preceding the selection).
Visual Basic for Applications |
---|
|
This example selects the previous field, and if a field is found, displays a message in the status bar.
Visual Basic for Applications |
---|
|
See Also