Quit powerpoint instance without saving

S

Silvester

Hi,

I use VBA automation from my Access 2000 forms to control Powerpoint.

How can I code a "Close" button on my form to absolutely close any open
instance of Powerpoint without saving.

Normally PP will ask if open slideshows should be saved before closing. I
would like to avoid this and just have PP close down.
 
D

David M. Marcovitz

From within PowerPoint, you can do

Application.Quit

and it won't ask you to save, or you can do

ActivePresenation.Saved = True

and it will think that nothing has changed since the last save. I don't
program between applications so I'm not sure of what you need to do from
Access, but that should get you pointed in the right direction.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 

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