Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / October 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KDC - 25 Oct 2006 19:01 GMT
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).
Austin Myers - 25 Oct 2006 19:31 GMT
Doable?  Yes, but... what is going to fire the VBA code?  A timer?

Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com

>I have just found out that I can not use a continuous loop and end a show
>on
[quoted text clipped - 3 lines]
> I
> am talking about the complete show (presentation).
KDC - 25 Oct 2006 19:39 GMT
Not sure, our need is to end the show in 10 minutes or at a certain time.

> Doable?  Yes, but... what is going to fire the VBA code?  A timer?
>
[quoted text clipped - 11 lines]
> > I
> > am talking about the complete show (presentation).
Austin Myers - 25 Oct 2006 20:47 GMT
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

> Not sure, our need is to end the show in 10 minutes or at a certain time.
>
[quoted text clipped - 15 lines]
>> > I
>> > am talking about the complete show (presentation).
KDC - 25 Oct 2006 21:34 GMT
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. "

> Depending on what you want you might use the
> "SlideShowWindows(1).View.Last" statement.  I prefer this over an abrupt
[quoted text clipped - 25 lines]
> >> > I
> >> > am talking about the complete show (presentation).
Austin Myers - 25 Oct 2006 21:41 GMT
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

> Thank You Austin.  I have not attempted to apply macros, could you give me
> a
[quoted text clipped - 32 lines]
>> >> > I
>> >> > am talking about the complete show (presentation).
KDC - 25 Oct 2006 23:21 GMT
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

> Go to tools, Macros, and Visual basic editor.
>
[quoted text clipped - 51 lines]
> >> >> > I
> >> >> > am talking about the complete show (presentation).
Steve Rindsberg - 26 Oct 2006 04:19 GMT
> 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.

> Please advise
>
[quoted text clipped - 53 lines]
> > >> >> > I
> > >> >> > am talking about the complete show (presentation).

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
KDC - 26 Oct 2006 14:52 GMT
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?

> > I pasted this, ran my macro and recieved this error:  run-time error
> > '-214788160 (80048241':  slideshowWindows (unknnown member): Interger out of
[quoted text clipped - 67 lines]
> PPTools:  www.pptools.com
> ================================================
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.