StartIsActive Property

Applies To

Selection object.

Description

True if the beginning of the selection is active. The active end of the selection moves when you press SHIFT+an arrow key. Read/write Boolean.

See Also

Flags property.

Example

This example selects the first word in the active document. The message box displays "False" because the end of the selection is active.

ActiveDocument.Words(1).Select
MsgBox Selection.StartIsActive
This example collapses the selection and selects the previous word. The message box displays "True" because the beginning of the selection is active.

Selection.Collapse Direction:=wdCollapseStart
Selection.MoveLeft Unit:=wdWord, Extend:=wdExtend
MsgBox Selection.StartIsActive