MPW
Well-known Member
- Joined
- Oct 7, 2009
- Messages
- 571
- Office Version
- 365
- Platform
- Windows
Hi All,
Using Office 2003.
I have a workbook which runs great but occasionally I get a debug during with the workbook_open sub. Specifically when it is dealing with any objects in the workbook.
The kicker is if I "End" the debugger, and then go to the workbook_open sub to run it, it works normally.
Until today this was a sporadic problem. Today it has happened every time I opened the workbook.
It almost seems to be trying to deal with the objects before the objects are loaded. Should I put a delay on the code to give the workbook a minute to collect it's thoughts?
Thanks for any help.
MPW
Using Office 2003.
I have a workbook which runs great but occasionally I get a debug during with the workbook_open sub. Specifically when it is dealing with any objects in the workbook.
The kicker is if I "End" the debugger, and then go to the workbook_open sub to run it, it works normally.
Until today this was a sporadic problem. Today it has happened every time I opened the workbook.
It almost seems to be trying to deal with the objects before the objects are loaded. Should I put a delay on the code to give the workbook a minute to collect it's thoughts?
Thanks for any help.
MPW