Syntax
ExtendMode()
Remarks
Returns –1 if extend mode is on. In extend mode, actions that normally move the insertion point extend the selection. ExtendMode() does not indicate whether column selection mode is on.
Example
This example toggles the state of extend mode:
If ExtendMode() = 0 Then ExtendSelection Else Cancel
See Also
Cancel, ColumnSelect, ExtendSelection