Debugging Macros

You will occasionally make mistakes in your code. Many will be simple syntax or typing errors that are caught by the Visual Basic compiler. Most of the rest become obvious when you examine your code (the "duh" factor). Sometimes, however, you'll find a situation in which something is going wrong and you can't immediately figure out why. Your next step is to use the debugging tools available in the editor.

For more information about debugging, including some concepts and general principles, see "Trapping h Errors" on page 902.

3 Although most of the features discussed here are true debugging tools such as breakpoints,

^ there are other features of the editor that are useful when debugging, but also have uses out side a debugging situation.

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment