Working with Microsoft Project Objects

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

With the Microsoft® Project 2000 object model, you can build powerful custom applications easily. Microsoft® Visual Basic® Applications Edition programming system extends the Visual Basic programming style to access Project project-planning software–supplied objects. In addition, the Visual Basic programming style is extended to access a Microsoft® Excel spreadsheet, Microsoft® Word word processing, the Microsoft® Access database management system, and the Microsoft® PowerPoint® presentation graphics program. This common macro language across applications makes it possible for access to schedule data stored in a project, as well as all the interface commands in the macro language found in Project.

In This Section

  • Working with Office Applications
    Take advantage of different objects, collections of objects, properties, methods, and events to build your application.
  • Working with Microsoft Access Objects
    Use Form, Report, and DataAccessPage objects and the controls they contain to format and display data and make it possible to add or edit data in a database.
  • Working with Microsoft Excel Objects
    Use Microsoft® Visual Basic® for Applications (VBA) to work with Microsoft® Excel objects, from either within Excel itself or another Microsoft® Office XP application to gain access to every part of Excel.
  • Working with Microsoft Outlook Objects
    Create custom Microsoft® Outlook® objects and manipulate those objects from within Outlook, from another application using Microsoft® Visual Basic® for Applications (VBA) code from within Outlook or from another Microsoft® Office XP application by using automation.
  • Working with Microsoft PowerPoint Objects
    Automate Microsoft® PowerPoint® by using the Application object, from which you can open an existing Presentation object or create a new presentation.
  • Working with Microsoft Word Objects
    Use Microsoft® Visual Basic® for Applications (VBA) to work with the Microsoft® Word Document object, Application object, and Documents collection.
  • Working with Microsoft Publisher Objects
    When you write Microsoft® Visual Basic® for Application (VBA) code that calls into Microsoft® Publisher, you treat Publisher as a collection of Visual Basic objects, where each object has methods and properties that either return Publisher's state, or cause Publisher to do something.
  • Working with Microsoft Visio Objects
    Design, model, and manage complex enterprise-level systems with the sophisticated toolset provided by Microsoft® Visio® products.