Solved

PowerPoint 2013 Slide Show won't run

Posted on 2013-01-24
4
525 Views
Last Modified: 2013-01-24
Experts!
I set slide timings using this - adapted (thanks JSRW)

Sub writeTime()

    Dim i As Integer
    Dim osld As Slide
   
    Set osld = ActivePresentation.Slides(1)
    osld.Tags.Add "TIMING", "|0.5|0" '  be careful it's valid timing

End Sub

I checked that my slide show has set the timings by running this (thanks JSRW). OK.

Sub readTime()

    Dim i As Integer
    Dim osld As Slide

    For Each osld In ActivePresentation.Slides
   
        If osld.Tags.Count > 0 Then
            MsgBox "Slide" & osld.SlideIndex & " timings: " & osld.Tags("TIMING") & " - Slide: " & _
                osld.SlideShowTransition.AdvanceTime
           
        End If
   
    Next osld

End Sub

But when I try to run it from SlideShow From Beginning, it does not run.
Shouldn't it?

There must be something stupid I'm doing. (BTW this is the first time I'm trying to actually run it since JSRW kindly showed me how to do the code in December)

Thanks for help.
0
Comment
Question by:hindersaliva
  • 3
4 Comments
 

Author Comment

by:hindersaliva
ID: 38815218
Ooooops!

I solved it. All the slides had Advance On MouseClick checked. I changed it to Advance Slide After as I already had the slide timing imported as per JSRW.

Works correctly now.
0
 

Author Comment

by:hindersaliva
ID: 38815224
Next related question ...

How can I programatically set ALL SLIDES to:
Duration = .01 (the least)
And (tick) Advance Slide After?

Thanks!
0
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 38816134
This should do it or at least get you closer.

Sub All_Zippy()
Dim osld As Slide
For Each osld In ActivePresentation.Slides
With osld.SlideShowTransition
.EntryEffect = ppEffectNone
.AdvanceOnTime = msoTrue
.AdvanceOnClick = msoFalse ' maybe not needed
.Duration = 0.1
End With
Next osld
End Sub
0
 

Author Comment

by:hindersaliva
ID: 38816889
Fantastic! Thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

People often ask "How do I make this macro run every time I show a new slide or add a new slide etc." This means making PowerPoint respond to that EVENT and, unlike in Excel, it's not that easy! First, I would avoid using the pseudo events left o…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now