Application.Quit Method
PowerPoint Developer Reference |
Quits Microsoft Office PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint.
Syntax
expression.Quit
expression A variable that represents 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.
Example
This example saves all open presentations and then quits PowerPoint.
Visual Basic for Applications |
---|
|
See Also