Quit Method
Applies To
Application object.
Description
Quits PowerPoint. This is equivalent to clicking Exit on the File menu.
Syntax
expression.Quit
expression Required. An expression that returns an Application object.
Remarks
To avoid being prompted to save changes, use either the Save or SaveAs method to save all open presentations before calling the Quit method.
See Also
Close method.
Example
This example saves all open presentations and then quits PowerPoint.
With Application
For Each w In .Presentations
w.Save
Next w
.Quit
End With