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

The Outlook Object Model

Automation (formerly OLE—Object Linking and Embedding—Automation) is now a feature of the Component Object Model (COM) technology, which allows developers to manipulate other applications from code. All the Microsoft Office applications support Automation, and so do many other products, both Microsoft and non-Microsoft. With Office 2000, major players such as Micrografx and Visio have entered the arena (or substantially upgraded their add-in products), with applications that support Automation with extensive object models, and even include the same dialect of VBA (v. 6.0) used in Office, making it easy to create seamless applications with enhanced functionality.

If you are writing code in a dialect of VB for a product that supports Automation, you can use the CreateObject and GetObject functions to control objects belonging to other Automation-supporting applications. For example, you can write Access Automation code to export data to Word and print letters, or Word Automation code to import appointments from Outlook and print a formatted calendar, or Outlook Automation code to export contacts to an Excel worksheet.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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