Chapter 11. Responding to Outlook Events in VBA

One of the features that makes Outlook 2007 a rich programming environment is the many events in the object model that respond to the user’s interaction with Outlook. In addition, events are available to process what happens behind the scenes when, for example, a reminder fires or a new item is saved in a folder. Here are just a few of the events for which you can write code:

  • Starting Outlook

  • Sending a message

  • Receiving new mail

  • Creating or modifying items or folders

  • Switching to a different folder or to a different view

  • Right-clicking on an item or folder

Although not every possible event is included in the Outlook object model, the range of available events is enough to keep any programmer busy for a ...

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.