Chapter 9. Handling Errors, Testing, and Debugging
This chapter gives you a break from writing code procedures as it explores what might go wrong with your Outlook VBA or VBScript code and how to fix it. Outlook includes many tools to assist you in tracking down such problems, especially in VBA.
For VBScript, your options are more limited. There is no script debugging support for Outlook 2007 running on Windows Vista, unless Visual Studio is also installed on the machine. Therefore, we will look at some alternatives, including testing custom form code in Outlook VBA.
Highlights of this chapter include discussions of the following:
What types of errors you are likely to encounter
What debugging techniques Outlook VBA supports
How to handle errors you ...
Get Microsoft Outlook 2007 Programming 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.