Solved

PowerPoint 2013 Slide Show won't run

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever been sent a PowerPoint presentation file and wondered why it filled your mailbox? Or have you ever sent a PowerPoint presentation by email and received complaints about the size? Or have you ever created a PowerPoint presentation and t…
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…
This video teaches viewers how to add simple and professional themes to their slides.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.

730 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