Partager via


_Presentation.Close Method

Closes the specified presentation.

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

Syntax

'Declaration
Sub Close
'Usage
Dim instance As _Presentation

instance.Close()
void Close()

Remarks

When you use this method, PowerPoint will close an open presentation without prompting the user 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.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace