DocumentWindow.Close Method
Closes the specified document window.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub Close
'Usage
Dim instance As DocumentWindow
instance.Close()
void Close()
Remarks
When you use this method, Microsoft PowerPoint will close an open presentation without prompting users to save their work. To prevent the loss of work, use the Save() method or the SaveAs(String, PpSaveAsFileType, MsoTriState) method before you use the Close method.