Close activepresentation but not slideshow

  • Thread starter Thread starter Ken
  • Start date Start date
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
 
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
 
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
 
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.
 
Back
Top