G
Guest
I am automating PowerPoint from another application. When a PowerPoint
application is open and the user selects the 'X' button to close the window,
I would like to be able to catch this event and cancel (not allow) the close.
(I want to handle all File events from my own application). For Word and
Excel, a DocumentBeforeClose event is caught which allows the close to be
cancelled. I haven't found any way of doing this for PowerPoint. Is there a
way to programmatically catch and cancel the close that results from
selecting the 'X' button when automating PowerPoint, or disabling the 'X'
button?
Thanks, Stumpiana
application is open and the user selects the 'X' button to close the window,
I would like to be able to catch this event and cancel (not allow) the close.
(I want to handle all File events from my own application). For Word and
Excel, a DocumentBeforeClose event is caught which allows the close to be
cancelled. I haven't found any way of doing this for PowerPoint. Is there a
way to programmatically catch and cancel the close that results from
selecting the 'X' button when automating PowerPoint, or disabling the 'X'
button?
Thanks, Stumpiana