Is there a possible way, in VBA for MS Word, to make a vertical selection? I mean: is it possible to simulate the behavior of the keys Shift+Alt+Selection (by mouse) in a MS Word VBA routine?
I find this in2007 Word Developer Reference - Selection.ColumnSelectMode Property
With Selection
.Collapse Direction:=wdCollapseStart
.ColumnSelectMode = True
.MoveRight Unit:=wdWord, Count:=10, Extend:=wdExtend
.MoveDown Unit:=wdLine, Count:=20, Extend:=wdExtend
.Copy
.ColumnSelectMode = False
End With
Find it is working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With