loop continuosly with vba macro

T

theintern

I'd like to have my presentation loop continuously until esc by using code,
not checking the box. I also can't just save it as a show instead, because i
need to edit it periodically without resaving it as a show each time. i'm
thinking there's a simple line of code to do this, just don't know what it
is. i'm running PP 07.

thanks
scott
 
M

Michael Koerner

Why would you need vba to do what can be done automatically in PowerPoint. Click the Slide Show tab, Set Up Show and check mark "Loop continuously until Esc" Regardless of how many times you need to edit the show. It is just a matter of saving when your finished editing. don't need VBA to do that.

--
Michael Koerner
MS MVP - PowerPoint


I'd like to have my presentation loop continuously until esc by using code,
not checking the box. I also can't just save it as a show instead, because i
need to edit it periodically without resaving it as a show each time. i'm
thinking there's a simple line of code to do this, just don't know what it
is. i'm running PP 07.

thanks
scott
 
T

theintern

wow. correct you are. my problem is i had the following code to display:

With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoTrue
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Run
End With

..LoopUntilStopped was false and i needed to change it to true

Thanks Michael!
scott
 
M

Michael Koerner

Thanks for getting back with your success.

--
Michael Koerner
MS MVP - PowerPoint


wow. correct you are. my problem is i had the following code to display:

With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoTrue
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Run
End With

.LoopUntilStopped was false and i needed to change it to true

Thanks Michael!
scott
 

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