_Application.Quit Method

Quits Microsoft PowerPoint. This is equivalent to clicking the Office button and then clicking Exit PowerPoint.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Quit
'Usage
Dim instance As _Application

instance.Quit()
void Quit()

Remarks

To avoid being prompted to save changes, use either the Save() or SaveAs(String, PpSaveAsFileType, MsoTriState) method to save all open presentations before calling the Quit() method.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace