Prevent save dialog from appearing?

V

vincentj

Hi, I have a VB application that creates a Powerpoint 2000 presentation using
automation, but the problem is I get a message asking if I want to save
when I close the presentation. In Excel I can set DisplayAlerts=False to
avoid that, is there an equivalent property in PPT 2000 to prevent such
messages? Please excuse this message if it is a double post, it doesn't look
like my other one went through. Thanks.
 
D

David M. Marcovitz

In VBA, you can set the Saved property of the slideshow to be True:

ActivePresentation.Saved = True

or

Presentations(1).Saved = True

I'm not sure how this translates into VB that is external to PowerPoint.

--David

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

vincentj

Wow, that worked great! That's even better than DisplayAlerts actually,
because if someone changes the report then they will get prompted to save. I
may have to change that for my Excel reports too, thanks!
 
Top