title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Application.Quit method (PowerPoint) |
vbapp10.chm502022 |
|
|
d7040179-ca03-563f-5bd9-80a5fd5e5d4b |
06/08/2017 |
medium |
Quits Microsoft PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint.
expression.Quit
expression A variable that represents an Application object.
To avoid being prompted to save changes, use either the Save or SaveAs method to save all open presentations before calling the Quit method.
This example saves all open presentations and then quits PowerPoint.
With Application
For Each w In .Presentations
w.Save
Next w
.Quit
End With
[!includeSupport and feedback]