SelectionChanging Event

See Also                  Applies To

Occurs whenever the user moves the mouse pointer while he or she is selecting a range. This event does not occur when the user selects a range by using the keyboard. The user cannot cancel this event.

Syntax

Private Sub Spreadsheet_SelectionChanging(SpreadsheetEventInfo As SpreadsheetEventInfo)

SpreadsheetEventInfo   The SpreadsheetEventInfo object that contains information about the event.

Remarks

For information about using events with VBScript, see Declaring and Using Event Procedures in VBScript.