images

Chapter 27

Working with Events in Outlook

If you want to automate the way that Outlook works, you may sometimes need to write code that responds to Outlook events. Outlook has two classes of events, application-level events and item-level events, and between them, they enable you to write code that responds to most anything that happens in Outlook. In this chapter, you will learn how to work with both types of events, and you will see code examples showing how to manage some of the events.

HOW EVENT-HANDLER PROCEDURES DIFFER FROM ORDINARY MACROS

Both writing and testing an event-handler procedure differ from the techniques you've been employing ...

Get Mastering VBA for Microsoft Office 2013 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.