Occurs whenever the user moves the mouse pointer while selecting a range. This event does not occur when the user selects a range by using the keyboard. The user cannot cancel this event.
Private Sub Object _SelectionChanging(ByVal Range As Range)
Object The name of the Spreadsheet object that you are trapping this event for.
Range A Range object that represents the range of cells that are being selected.
For information about using events with VBScript, see Declaring and Using Event Procedures in VBScript .