Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
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
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.