SelectRow Method

Selects the row that contains the insertion point, or selects all rows that contain the selection. If the selection isn't in a table, an error occurs.


expression Required. An expression that returns a Selection object.


This example collapses the selection to the starting point and then selects the column that contains the insertion point.

Selection.Collapse Direction:=wdCollapseStart
If Selection.Information(wdWithInTable) = True Then
End If

Applies to | Selection Object

See Also | Select Method | SelectCell Method | SelectColumn Method