Error Handling Techniques

In This Chapter

^ Understanding the difference between programming errors and run-time errors ^ Trapping and handling run-time errors ^ Using the VBA On Error and Resume statements ^ Finding how you can use an error to your advantage hen working with VBA, you should be aware of two broad classes of ▼ ▼ errors: programming errors and run-time errors. (I cover programming errors, also known as bugs, in the next chapter.) A well-written program handles errors the way Fred Astaire danced: gracefully. Fortunately, VBA includes several tools to help you identify errors — and then handle them gracefully.

0 0

Post a comment