Muokkaa

Jaa


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

Selection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.