Selects the specified object.
expression.Select(Replace)
expression Required. An expression that returns one of the above objects.
Replace Optional Variant. If adding a shape, True replaces the selection. False adds the new shape to the selection.
Select method as it applies to all other objects in the Applies To list.
Selects the specified object.
Note After using this method, use the Selection property to work with the selected items. For more information, see Working with the Selection object.
expression.Select
expression Required. An expression that returns one of the above objects.
Example
As it applies to the Range object.
This example selects the first paragraph in the active document.
Sub SelectParagraph()
ActiveDocument.Paragraphs(1).Range.Select
Selection.Font.Bold = True
End Sub
As it applies to the Row object.
This example selects row one in table one of Report.doc.
Documents("Report.doc").Tables(1).Rows(1).Select
As it applies to the Field object.
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