RockandGrohl
Well-known Member
- Joined
- Aug 1, 2018
- Messages
- 801
- Office Version
- 365
- Platform
- Windows
Hi all,
I'm trying to build a new tool that takes a 26 hour manual process and automates it, which should run overnight for 10-16 hours. The trouble is working around Excel crashing or halting unexpectedly.
I'm testing what I have now and in the last 20 minutes it's crashed or halted three times. How do I troubleshoot these crashes? The code will loop over 600 times and within the loop there are probably 12 sheets that open and close in total, numerous tab switches..
Sometimes it will work flawlessly and other times it seems to really struggle. Sometimes the code will just stop running and not let me know at what part it stopped.
How do I troubleshoot this? Seems very tricky to identify where the problem is, let alone amending it.
I'm trying to build a new tool that takes a 26 hour manual process and automates it, which should run overnight for 10-16 hours. The trouble is working around Excel crashing or halting unexpectedly.
I'm testing what I have now and in the last 20 minutes it's crashed or halted three times. How do I troubleshoot these crashes? The code will loop over 600 times and within the loop there are probably 12 sheets that open and close in total, numerous tab switches..
Sometimes it will work flawlessly and other times it seems to really struggle. Sometimes the code will just stop running and not let me know at what part it stopped.
How do I troubleshoot this? Seems very tricky to identify where the problem is, let alone amending it.