Select Method

Applies To

Bookmark object, Cell object, Column object, Columns collection object, Document object, Field object, FormField object, Frame object, InlineShape object, MailMergeField object, PageNumber object, Range object, Row object, Rows collection object, Selection object, Shape object, ShapeRange collection object, Subdocuments collection object, Table object.

Description

Selects the specified object.

Note After using this method, you can use the Selection property to return a Selection object.

Syntax

expression.Select

expression Required. An expression that returns an object in the Applies To list.

See Also

Activate method, SelectAll method, SelectColumn method, Selection object, Selection property, SelectRow method.

Example

This example selects the first paragraph in the active document.

ActiveDocument.Paragraphs(1).Range.Select
This example selects row one in table one in Report.doc.

Documents("Report.doc").Tables(1).Rows(1).Select
This example updates and selects the first field in the active document.

ActiveWindow.View.FieldShading = wdFieldShadingWhenSelected
If ActiveDocument.Fields.Count >= 1 Then
    With ActiveDocument.Fields(1)
        .Update
        .Select
    End With
End If