The Presentation Object

As always, in Office, the Application object is at the top of the object hierarchy in PowerPoint. Each presentation is represented by a Presentation object, and each slide in a presentation is represented by a Slide object.

When you work with PowerPoint, you will mostly be manipulating presentations and the slides they contain. (Slides are covered in the next section.) The PowerPoint Application object maintains a Presentations collection that contains one Presentation object for each open presentation. You use standard collection syntax to access individual members of the collection, referring to them by name or index number. For example, the following code applies the design template located in the file professional.pot ...

Get Office® XP Development with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.