Selection.SelectColumn Method (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Selects the column that contains the insertion point, or selects all columns that contain the selection.

expression .SelectColumn

expression Required. A variable that represents a Selection object.

If the selection isn't in a table, an error occurs.

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

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