Application.Quit method (PowerPoint)
Quits Microsoft PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.