Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Error Handling in Each Sub

I have modified the code of a series of subs that all get called from a
master sub so that each sub has its own error handling section, which has if
error goto errorarea in that sub. The code is protected with a password.
When a user runs the program, they SOMETIMES and sporatically get "project
execution has been interrupted." The choices are continue or end. Debug is
not available as the project is protected and locked. The next time they go
in to excel and run the project, it does NOT give any of these errors.
Sometimes they may get 40 during the running. Any ideas why this would
happen? Could it have anything to do with the protection?


  #2   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Error Handling in Each Sub

sounds like something that happened to one of my coworkers. the code would
break, but you could continue all the way through to the end. every time the
code ran, it would break in a different place and never once executed the
errorhandler (almost as if someone hit ctrl+break to interrupt the macro).

she habitually logged out at the end of the day instead of rebooting the
computer. after rebooting her computer, all worked fine.

other than that, I'm not sure.


"Mike H." wrote:

I have modified the code of a series of subs that all get called from a
master sub so that each sub has its own error handling section, which has if
error goto errorarea in that sub. The code is protected with a password.
When a user runs the program, they SOMETIMES and sporatically get "project
execution has been interrupted." The choices are continue or end. Debug is
not available as the project is protected and locked. The next time they go
in to excel and run the project, it does NOT give any of these errors.
Sometimes they may get 40 during the running. Any ideas why this would
happen? Could it have anything to do with the protection?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF Error Handling is ignored. Not for everyone? [email protected] Excel Programming 4 March 22nd 06 06:31 PM
Error Handling - On Error GoTo doesn't trap error successfully David Excel Programming 9 February 16th 06 05:59 PM
Error handling with a handling routine ben Excel Programming 0 March 15th 05 03:01 PM
Error handling Gareth Excel Programming 1 July 11th 04 07:34 PM
Error handling John Pierce Excel Programming 3 October 3rd 03 12:17 PM


All times are GMT +1. The time now is 10:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"