StartIsActive 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