Following these steps, you can create an Excel 4.0 macro within a workbook:
- Right click on a sheet/tab (e.g.
Sheet1) at the bottom of the Excel workbook. - Click
Insert.... - Select
MS Excel 4.0 Macroand hitOK.
You get a new sheet "Macro1" with macros enabled.
How do you handle events like SheetSelectionChangeEvent for this sheet in code?
I am able to subscribe to and handle these events for regular sheets (Sheet1, Sheet2, etc.), but for the Macro1 sheet, these regular events aren't fired. Any ideas?
Reference is available from here: http://support.microsoft.com/kb/128185