Solved

PowerPoint 2013 Slide Show won't run

Posted on 2013-01-24
4
533 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction In all recent versions of PowerPoint it is possible to trigger animations. This means the animation takes place when a certain shape is clicked. This allows you to run animation “on demand” and outwith the normal sequence of mouse cl…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
The viewer will learn how to edit animations within the presentation, incorporate sound, and set everything up with timing.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.

717 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