Chapter 11Chapter 11
Conditional
Compilation and
Error Trapping
Understanding and Using Conditional Compilation +
Navigating with Bookmarks + Trapping Errors + Using
the Err Object + Procedure Testing + Chapter Summary
273
If you’ve read Chapter 10, you should now know how to debug your code
using the built-in VBE debugging tools. With these tools, you can easily set a
breakpoint to stop a program while it is running and use step options to run
your code one statement at a time. You can review the values of variables by
using Watch expressions and the Locals ...

Get Excel 2007 VBA Programming with XML and ASP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.