Presentation.Close Method
PowerPoint Developer Reference |
Closes the specified presentation.
Syntax
expression.Close
expression A variable that represents a Presentation object.
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 method before you use the Close method.
Example
This example closes Pres1.ppt without saving changes.
Visual Basic for Applications |
---|
|
This example closes all open presentations.
Visual Basic for Applications |
---|
|
See Also