Working with the Presentation Object
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.
When you are working with Microsoft® PowerPoint® objects through Microsoft® Visual Basic® for Applications (VBA), you typically work with a Presentation object and the slides it contains. You use a PowerPoint template — a presentation saved with a .pot extension that contains master slides and might contain regular slides — to apply a consistent look to an entire presentation.
In This Section
- Working with Open Presentations
Create a reference to an open presentation by using the Application object's ActivePresentation property or by accessing a Presentation object as a member of the Presentations collection. - Working with Existing Presentations
Use the Presentations collection's Open method to open a presentation saved to disk and create a reference to that presentation at the same time. - Creating a New Presentation
Create a PowerPoint presentation by using the Open method of the Application object or by using the Presentations collection's Add method. - Formatting a Presentation
Use a PowerPoint template to apply a consistent look to an entire presentation. - Running a Slide Show from a Presentation
Use properties to specify how you want a slide show to appear and which slides to include in the show.
Related Sections
- Working with Microsoft PowerPoint Objects
Automate PowerPoint by using the Application object, from which you can open an existing Presentation object or create a new presentation. - Understanding the PowerPoint Application Object
Use the Application object to get started writing VBA code to work with PowerPoint. - Working with PowerPoint Slides
Use the Slides collection returned by the Slides property of the Presentation object to add new slides to or access an existing slide in a presentation. - Working with Shapes on Slides
Understand how to refer to a Shape object on a slide.