XLEAccessGuru
XLEGuru
- Local time
- Today, 12:38
- Joined
- Nov 17, 2006
- Messages
- 65
Hi Everyone!
In Excel VBA, and ONLY on my laptop at work, I get run-time messages that say "Code Execution Has Been Interrupted" just as if I hit CTRL + BREAK. I have NOT hit break and this only happens on my laptop at work. The same exact program will run perfectly on any other machine but just seems to stop as if I manually interrupted it on the laptop. It will stop on something stupid like:
I have been struggling with this for MONTHS. Several of my automated reports can't run overnight outside of business hours like they need to because of this.
If anyone can save me here, I will be eternally grateful! I've tried EVERYTHING.
Remember - this only happens on my laptop. If I run the any of these Excel automation programs on ANY other machine, it runs all the way through without being interrupted.
Awaiting my Savior,
XLEAccessGuru
In Excel VBA, and ONLY on my laptop at work, I get run-time messages that say "Code Execution Has Been Interrupted" just as if I hit CTRL + BREAK. I have NOT hit break and this only happens on my laptop at work. The same exact program will run perfectly on any other machine but just seems to stop as if I manually interrupted it on the laptop. It will stop on something stupid like:
Code:
Sheets("MainMenu").Select
I have been struggling with this for MONTHS. Several of my automated reports can't run overnight outside of business hours like they need to because of this.
If anyone can save me here, I will be eternally grateful! I've tried EVERYTHING.
Remember - this only happens on my laptop. If I run the any of these Excel automation programs on ANY other machine, it runs all the way through without being interrupted.
Awaiting my Savior,
XLEAccessGuru