• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

12.5. Handling Errors in Code

We discussed the various types of errors in Chapter 9, but we have scrupulously avoided the question of how to handle run-time errors in code. Indeed, VBA provides several tools for handling errors (On Error, Resume, the Err object, and so on), and we could include an entire chapter on the subject in this book.

Proper error handling is extremely important. Indeed, if you are, or intend to become, a professional application developer, then you should familiarize yourself with error handling procedures.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint