title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.Presentations property (PowerPoint) |
vbapp10.chm502001 |
|
|
d6f5f565-d593-e230-c3b9-2302bdd83644 |
06/08/2017 |
medium |
Returns a Presentations collection that represents all open presentations. Read-only.
expression. Presentations
expression A variable that represents an Application object.
Presentations
For information about returning a single member of a collection, see Returning an object from a collection.
If your Visual Studio solution includes the Microsoft.Office.Interop.PowerPoint reference, this property maps to the following types:
- Microsoft.Office.Interop.PowerPoint._Application.Presentations
This example opens the presentation named "Long Version.ppt."
Application.Presentations.Open _
FileName:="c:\My Documents\Long version.ppt"
This example saves presentation one as "Year-End Report.ppt."
Application.Presentations(1).SaveAs "Year-End Report"
This example closes the year-end report presentation.
Application.Presentations("Year-End Report.ppt").Close
[!includeSupport and feedback]