• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 33. Using VBA in Outlook 2003 > The Outlook Object Model

The Outlook Object Model

All Office development depends on the use of object models to access all the items, properties, and methods of an application. An object represents an actual item. In Outlook, an object could be a mail item, a toolbar, a command button, or the entire application. Each object has properties, methods, and events that determine the type of data contained in the object and the operations that can be performed on that object.

Objects in Outlook exist in a hierarchical relationship. Most Outlook objects have another object as their parent. That object is usually, but not always, a different object type and might have many different properties and methods. This hierarchical relationship enables all Outlook objects to be grouped into one object model. One of the easiest ways to view the Outlook object model is through the Microsoft Outlook Object Library Help file, which is accessible from the Help menu in the Script Editor of a custom Outlook form. Selecting this menu option displays the Outlook Object Library Help window (see Figure 33.3). This Help file lists many of the valid Outlook objects and their relationships to other objects. To drill down to view the properties, methods, and events available on an object, select the object.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint