PowerPoint beforeclose event

T

Tom Hyde

I am looking for the ability to auto save all opened PowerPoint presentations
when the PowerPoint application is closed (without any prompting). As an
add-in I can make use of the application Auto_Close, but at this event point,
the presentations have already been closed (losing the save)

Surfing around, I see Excel and Word have an event beforeclose, but this
does not exist in powerpoint?

Any thoughts on how I could get powerpoint presentations to autosave when
existing the application?
 
A

Austin Myers

Tom,
If you don't have it, go to the Microsoft site and do a search for
"vbapp10.chm". Should be a big help.


--
Austin Myers
MS PowerPoint MVP Team

Provider of PFCPro, PFCMedia and PFCExpress
www.playsforcertain.com
 
T

Tom Hyde

Thanks, Austin ... that helped just enough that and I was able to create a
EventClass to essentially hijack the PresentationClose event and do an
auto-save.

The process actually involved creating a Event class, and an auto_open macro
that initializes the class to be able to get at the App_PresentationClose
event. Then adding this as an add-in.

In the end it works great ... Thanks

=================================
 
Joined
May 18, 2009
Messages
1
Reaction score
0
Hello Tom and Austin.
Can you please share how you were able to go about your requirement ?
I am new to Office add-ins and need to avoid PowerPoint from closing a presentation. My environment is Office 2003 on WinXP 32 bit and VS 2008. I am using Microsoft.Office.Interop.PowerPoint, Version=10.0.4504.0.

Thanks in advance,
Parag
 

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