Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Selects the specified field.
Syntax
expression.Select
expression Required. A variable that represents a 'Field' object.
Remarks
After using this method, use the Selection object to work with the selected items. For more information, see Working with the Selection Object.
Example
This example updates and selects the first field in the active document.
ActiveDocument.ActiveWindow.View.FieldShading = _
wdFieldShadingWhenSelected
If ActiveDocument.Fields.Count >= 1 Then
With ActiveDocument.Fields(1)
.Update
.Select
End With
End If
See also
Support and feedback
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.