![]() ![]() ![]() This chapter does not deal with those types of errors. If you make such an error, you won’t even be able to execute the procedure until you correct it. For example, you may spell a keyword incorrectly or type a statement with the wrong syntax. Some of these errors result from bad VBA code. If you’ve tried any of the examples in this topic, you have probably encountered one or more error messages. Fortunately, VBA includes several tools to help you identify errors - and then handle them gracefully. (I cover programming errors, also known as bugs, in the next chapter.) A well-written program handles errors the way Fred Astaire danced: gracefully. When working with VBA, you should be aware of two broad classes of errors: programming errors and run-time errors. Using the VBA On Error and Resume statementsįinding how you can use an error to your advantage Understanding the difference between programming errors and run-time errors ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |