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.
Remarks
For information about using events with VBScript, see Declaring and Using Event Procedures in VBScript .