Presentation Close

J

Jackie

Morning

I am struggling to identify the event that runs when a presentation is
closed. In Word we have the option under "This Document" to "Open", "Close",
"New" so it is fairly simply to identify where to place the code, but this is
not the case for PowerPoint.

Can anyone help? I have set up a class and used "AutoExec" as a Sub but this
does not run when the presentation is closed, also tried "AutoClose" (just in
case) but still no joy.

Regards
Jackie
 
J

Jackie

Thanks for your response. I did get a reply from another website and searched
for PresentationClose and found the below article. I then followed the links
to Shyam's website.

Shyam is a star.

Regards
Jackie
 
J

Jackie

Me again !!

There I was getting all excited because I thought the problem had been
solved - well unfortunately I was wrong !! Setting up the class etc is fine
and runs as I need it to, the problem I have is that I want the code to run
when I close the presentation. The only way I can get it to work is if I run
the function "Trap Events" through VBA when the presentation is open, then
when I close the presentation it runs PresentationClose - it will not run
PresentationClose otherwise.

Any ideas ... please.
Jackie
 
J

Jackie

Steve

I solved it eventually, there is a button on the toolbar that activates a
new presentation, when the new presentation opens I run the event handler
code. It seems to be working well (hurray).

I have saved the website you recommended for future reference - many thanks.

Regards
Jackie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top