Hi, I am trying to create VBA code which opens a powerpoint application, runs a specific powerpoint slideshow, then closes the slideshow, but leaves powerpoint open in the background. The code I have so far is:
This works, but it closes the powerpoint application, not only the slide show.
I have also tried this code:
This doesn't even start the slide show as I get a "Compile error: User defined type not defined" for
Dim PPApp As PowerPoint.Application
I have also tried combining elements of the two like this:
This opens and runs, but will not close, as I get the error
Run-time error '438': Object doesn't support this property or method
For the "PPPres.Close" command. I have also tries "PPPres.Presentations.Close" and:
but all with the same result. I can't think of any alternatives myself, so I need some genius help here.
Any help with this will be greatly appreciated! 
Christopher
Bookmarks