共用方式為


Working with Office Applications

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.

As an Office developer, you are probably well versed in at least one of the Microsoft Office applications. However, when you need to build a solution based on an Office application that you are not familiar with, you may find it difficult to get started because each Office application exposes an object model with hundreds of different objects, collections of objects, properties, methods, and events.

This chapter is designed to give you an introduction to the objects that you will use most often in each of the Office applications. This introduction should give you the head start you will need to become immediately productive when you are working with Visual Basic for Applications (VBA) in any Office application or when you are driving another application through Automation (formerly called OLE Automation).

Note   For information about working with events and event procedures in Office applications, see Chapter 4, "Understanding Office Objects and Object Models." For information about deploying solutions based on Office applications, see Chapter 2, "Designing and Deploying Office Solutions."

Contents

Working with Microsoft Access Objects

Working with Microsoft Excel Objects

Working with Microsoft FrontPage Objects

Working with Microsoft Outlook Objects

Working with Microsoft PowerPoint Objects

Working with Microsoft Word Objects

Where to Go from Here