Close activepresentation but not slideshow

K

Ken

Running macro from slideshow. It opens a new PP adds some slides and data
then saves the PP to disk. I am having trouble closing the PP without
closing the slideshow. I want to start with and end with only the slideshow
open. Suggestions?

Ken
 
K

Ken

ActivePresentation.quit causes an error.
The method Quit is not available with ActivePresentation nor with
Presentations

ActivePresentation.Close
It closes the PPT file but not PP. Keeps PPS open.

Application.ActivePresentation.Close
Application.Quit
It closes everything:

Application.ActivePresentation.Close
Application.SlideShowWindows(1).Activate
It closes the PPT file but not the PP. Puts PPS on top.

This is close but I want the PP under the PPS to go away too.

Using PP 2002
 
K

Ken

Since there is only one window with a presentation open and one Slideshow is
open

Application.Windows(1).Close or ActivePresentation.Close closes the
presentation / window but not the PP without a presentation in a window. If
I close the Presentation an error occurs when I close the Window (no window
found).

Application.SlideShowWindows(1).Activate brings up the SlideShow with the
empty PP behind. Esc closes the SlideShow and shows the PP behind.
Application.quit kills both the empty PP and the SlideShow.

I was thinking of trapping the {ESC} key, running a macro and closing the
application at that time but don't see a way.

Ken
 
S

Steve Rindsberg

Running macro from slideshow. It opens a new PP adds some slides and data
then saves the PP to disk. I am having trouble closing the PP without
closing the slideshow. I want to start with and end with only the slideshow
open. Suggestions?

It's hard to say what's going wrong unless we can see what's going on in the
first place. Please post the relevant bits of code you're running.
 

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