|
-
Feb 13th, 2007, 09:45 AM
#1
Thread Starter
Addicted Member
Error handling
Is it enough to insert the On Error GoTo XXXXX procedure at the begining of every sub, in order to trigger XXXXX whenever an error occurs?
-
Feb 13th, 2007, 10:24 AM
#2
Re: Error handling
If XXXXX is A label somwhee in your code... Yes.
But todo Propper Error handling use an area at the end of exch sub/function to handle the expected errors en display an error message if the error was unexpected or critical for your programn flow.
To speed up this process you can download M-Z tools for VBA (free)
to generate the basic error handling code.
 why can't programmers keep and 31 Oct and 25 dec apart. Why Rating is Useful
for every question you ask provide an answer on another thread.
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
|
Click Here to Expand Forum to Full Width
|