Occurs whenever the user enters edit mode while the mouse pointer is in a cell. Set the SpreadsheetEventInfo object’s ReturnValue property to False to prevent the user from entering edit mode.
Syntax
Private Sub Spreadsheet_StartEdit(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.