EXAMINING THE OFFICE PRODUCTS' OBJECT MODELS

Through Automation, you can manipulate the following Office products and objects. The classes in the third column are used by Automation functions, which are discussed in the next section.

Application Object Class
Access 9.0 Application Access.Application
Excel 9.0 Application

Chart

Worksheet
Excel.Application

Excel.Chart

Excel.Worksheet
Graph 9.0 Application Chart Graph.Application Graph.Chart
Project 8.0 Application MSProject.Project
PowerPoint 9.0 Application Presentations PowerPoint.Application PowerPoint.Presentations
Word 9.0 Application Document Word.Application Word.Document
Outlook 9.0 Application Journal Item Outlook.Application Outlook.JournalItem

Note

If you are using Access 2000 with an older version of other Office products (7 and 8), you can still automate them as long as you point to the right library. You have to watch out because the object models of the Office applications are probably different from the current versions.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.135.88