View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chris Chris is offline
external usenet poster
 
Posts: 16
Default error handler not working correctly

Hey Mike,

If i understand you right, you would like to begin at the beginning of
the sub after the Error handler.
To do this you have to make a rule name (just like "ErrorHandler:") at
the beginnig of the sub.
secondly you have to make an adjustment to your messagebox so he know
what to do after the message.

If MsgBox("Please enter a valid Redtag ID", vbOKOnly) = vbOK Then GoTo
beginning

And i dont know if you have to use "Exit Sub" i never do, and it works
perfectly.

Greets Chris