Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have 100s of excel workbooks and each of them has the same macros to run.
Sometimes it is required to change macros. I have written a macro in another excel page (using vbcomponent etc) and use it many times it and run successfully. Last time I have added a code to all excel workbooks starting "sub workbooks_deactivate()" and there was no problem. Whenever I deactivated a workbook, code in sub was running. But last time I tried the add another sub with same macro, EXCEL crashed. I found that if I delete the "sub workbooks_deactivate()" from excel workbooks, my code is running. Of course I don't want to update 100s of macros manually. Waiting for help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Microsoft Excel has encountered a problem | Excel Discussion (Misc queries) | |||
Microsoft Excel has encountered a problem | New Users to Excel | |||
Microsoft Excel has encountered a problem... | Excel Discussion (Misc queries) | |||
Microsoft Excel for Windows has encountered a problem.... | Excel Programming | |||
Microsoft Excel has encountered a problem and needs to close. HELP! | Excel Discussion (Misc queries) |