Occurs whenever the user switches from edit mode on the specified spreadsheet.
Syntax
Private Sub Spreadsheet_EndEdit(SpreadsheetEventInfo As SpreadsheetEventInfo)
SpreadsheetEventInfo The SpreadsheetEventInfo object that contains information about the event.
Remarks
Set the SpreadsheetEventInfo object’s ReturnValue property to False to prevent the specified change from occurring.
For information about using events with VBScript, see Declaring and Using Event Procedures in VBScript.