Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Errorhandler works only once

Status
Not open for further replies.

dirkg

Technical User
May 20, 2000
170
BE
Hi all,

I use the On Error goto ErrorHandler - event to handle an error in a procedure. In the ErrorHandler I fix the problem (refresh a link) and I return to the next position in the code by means of the Goto - statement. Then the code continue to perform the loop where the error happened. When the same error happens again however, the errorhandler doesn't work: I get the standardmessage that the error occured and I am given the opportunity to go to the code. Of course that's the last thing I want my users to do and anyway, I want the program to go to the errorhandler where the error will be fixed....what can I be doing wrong?

Thanks a lot in advance!


Greetings,

Dirk

dirk.news@yucom.be
 
Its saves us all a lot of time if you would put your code in here when you post your message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top