Partager via


Selection.ColumnSelectMode Property (Word)

True if column selection mode is active. Read/write Boolean.

Syntax

expression .ColumnSelectMode

expression A variable that represents a Selection object.

Remarks

When this mode is active, the letters "COL" appear on the status bar.

Example

This example selects a column of text that's two words across and three lines deep. The example copies the selection to the Clipboard and cancels column selection mode.

With Selection 
 .Collapse Direction:=wdCollapseStart 
 .ColumnSelectMode = True 
 .MoveRight Unit:=wdWord, Count:=2, Extend:=wdExtend 
 .MoveDown Unit:=wdLine, Count:=2, Extend:=wdExtend 
 .Copy 
 .ColumnSelectMode = False 
End With

See Also

Concepts

Selection Object

Selection Object Members