Application.PresentationBeforeClose event (PowerPoint)
Represents a Presentation object before it closes.
Syntax
expression. PresentationBeforeClose
( _Pres_
, _Cancel_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Pres | Required | Presentation | The Presentation object. |
Cancel | Required | Boolean | If set to True, the presentation will not close. |
Return value
Nothing
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.