EscapeKey Method Example
This example turns on and then cancels extend mode.
With Selection .ExtendMode = True .EscapeKey End With