Using Macros to end PPS - can this be done, if so how?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have just found out that I can not use a continuous loop and end a show on
a time or specified duration. However, I am wondering if I can use a macro
to start and end a show? Again, I am not talking about slide transition; I
am talking about the complete show (presentation).
 
Depending on what you want you might use the
"SlideShowWindows(1).View.Last" statement. I prefer this over an abrupt
ending of a slide show so I can use the last slide to exit gracefully.


Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com
 
Thank You Austin. I have not attempted to apply macros, could you give me a
step by step of what you are suggesting here:
"you might use the "SlideShowWindows(1).View.Last" statement. "
 
Go to tools, Macros, and Visual basic editor.

From the menu select, Insert > Module

In the module paste this:

Sub Macro1()
SlideShowWindows(1).View.Last
End Sub

That will do it, now all you need do is determine how or what will fire the
macro off.


Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com
 
I pasted this, ran my macro and recieved this error: run-time error
'-214788160 (80048241': slideshowWindows (unknnown member): Interger out of
range. 1 is not in the valid range of 1 to 0.

Please advise
 
I pasted this, ran my macro and recieved this error: run-time error
'-214788160 (80048241': slideshowWindows (unknnown member): Interger out of
range. 1 is not in the valid range of 1 to 0.

The macro's intended to run when the presentation's in slide show view.
Try adding an action button, assign it a Run Macro action and have it run this
macro. Start the show, click the button.
 
Thank you this worked, one last question where do I put the amount of time I
want this slide to run or when I want it to end? Could you give me an
example?
 
Back
Top