G
Guest
Hi all,
I have a strange issue programming an Add-In for excel 2002. Here is my problem:
I've created a workbook that create a new toolbar with some commands
In this workbook I have created an Event Listener using the WithEvent clause in a class module
In this class module I handle some of the Excel event eg. beforesave and sheetchange.
When a value in a cell of a worksheet is changed the SheetChange event is fired and I set by code the value of a couple of other cells.
Now if this workbook is saved as a normal workbook everything works fine, while if I save it as add-in (xla) and I try to execute the same code (in detail the code in the sheetchange event) it gives me a 1004 error.
Please any information would be usefull.
Thanks a lot to anyone
Regards
Massimiliano Garri
I have a strange issue programming an Add-In for excel 2002. Here is my problem:
I've created a workbook that create a new toolbar with some commands
In this workbook I have created an Event Listener using the WithEvent clause in a class module
In this class module I handle some of the Excel event eg. beforesave and sheetchange.
When a value in a cell of a worksheet is changed the SheetChange event is fired and I set by code the value of a couple of other cells.
Now if this workbook is saved as a normal workbook everything works fine, while if I save it as add-in (xla) and I try to execute the same code (in detail the code in the sheetchange event) it gives me a 1004 error.
Please any information would be usefull.
Thanks a lot to anyone
Regards
Massimiliano Garri