largeselection
Active Member
- Joined
- Aug 4, 2008
- Messages
- 358
Hello,
Is there a way I can spring a message and exit a routine if Excel receives an out of memory error?
I have a routine which does a lot of calculation and importing data via ODBC and on occasion I will get ODBC error System Resources Exceeded- The fix is pretty easy, I just close Excel and re-open the file and refresh the connection. So I'd like to spring a message that instructs the user to do that only if they get the system resources exceeded error.
Any ideas?
Thanks!
Is there a way I can spring a message and exit a routine if Excel receives an out of memory error?
I have a routine which does a lot of calculation and importing data via ODBC and on occasion I will get ODBC error System Resources Exceeded- The fix is pretty easy, I just close Excel and re-open the file and refresh the connection. So I'd like to spring a message that instructs the user to do that only if they get the system resources exceeded error.
Any ideas?
Thanks!