Solved

PowerPoint 2013 Slide Show won't run

Posted on 2013-01-24
4
526 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
PowerPoint is the go-to presentation software for millions of users around the world. Many presentations use basic text features but you can really make special text jump out of your slide by applying this bubble text design process. This article ha…
This video teaches viewers how to create handouts from their slides and helps them decide how many slides to include per handout.
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: …

896 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

16 Experts available now in Live!

Get 1:1 Help Now