WindowSelectionChange Event

See Also         Example         Applies To

Occurs when the selection changes in the active document window.

Syntax

Private Sub object_WindowSelectionChange(ByVal Sel As Selection)

object   An object of type Application declared with events in a class module. For more information about using events with the Application object, see Using Events with the Application Object.

Sel   The new selection.