Microsoft Office Tutorials and References
In Depth Information
If Found Then
‘ Process the matching appointment here.
MsgBox “Appointment ‘New Employee Training’ not found.”
A Calendar Demonstration
Chapter 25 presents a complete calendar application that creates and prints a document listing all
the appointments for the upcoming week. This demonstration also shows you how an Outlook
VBA program can control other Office applications.
The Outlook Object Model is central to any macros or VBA applications that you create in Outlook.
The objects represent all the various components in Outlook — folders, messages, appointments,
and so on. The functionality built in to these objects is available for you to use in your VBA code.