-
Yes; any procedure that you want error handling in must have at least the
[vba]On Error GoTo MyErrHandler
'...code
MyErrHandler:
'...something here
End Sub 'End Function
[/vba]
...in it
You could read this KB entry by DRJ for a general error handler:
http://www.vbaexpress.com/kb/getarticle.php?kb_id=189
Also, read thru the help topic for the On Error Statement.
Hope this helps,
Mark
Last edited by GTO; 05-14-2009 at 06:44 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules