shaybarhaim
New Member
- Joined
- Mar 11, 2014
- Messages
- 2
Hi all,
I have a custom ribbon in my Excel 2007 workbook.
On load my Workbook_activate() function dumps all existing VBA modules and re-loads them from a central repository. This process takes some time (a few seconds).
When loading the modules from a local directory - No problem.
When loading the modules from a server directory, mapped to my PC - I get an error "Can't execute code in break mode".
Apparently, the ribbon is trying to load DURING the time the Workbook_activate() function is still running!!!!
How can I cause them to run one after the other?
I have a custom ribbon in my Excel 2007 workbook.
On load my Workbook_activate() function dumps all existing VBA modules and re-loads them from a central repository. This process takes some time (a few seconds).
When loading the modules from a local directory - No problem.
When loading the modules from a server directory, mapped to my PC - I get an error "Can't execute code in break mode".
Apparently, the ribbon is trying to load DURING the time the Workbook_activate() function is still running!!!!
How can I cause them to run one after the other?