Supercharge your PowerPoint productivity with

Supercharge your PPT Productivity with PPTools - Click here to learn more.

Tell me about PPTools

Show me the transition, speed etc. of each slide


PPTools
Shape Styles brings the power of styles to PowerPoint. Apply complex formatting with a single click
Merge Excel, CSV or tab-delimited data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more
FixLinks prevents broken links when you distribute PowerPoint presentations
Optimizer saves disk space and bandwidth, shrinks your PowerPoint presentations to the right size for email, screenshow or printing
PPT2HTML gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements
Prep4PDF preserves interactivity in PowerPoint presentations when you convert to PDF
Image Export converts PowerPoint slides to JPG, PNG, GIF, WMF and more

This bit of code demonstrates how you can list the transition properties of each slide in a presentation.
With a bit of work, you can combine this with other VBA macros that report on each slide.

Sub ListTransitionSettings()

    Dim osld As Slide

    For Each osld In ActivePresentation.Slides

        With osld.SlideShowTransition
            Debug.Print "Entry effect" & vbTab & NameThatTransition(.EntryEffect)
            '.EntryEffect = ppEffectCombHorizontal
            Debug.Print "Speed" & vbTab & .Speed
            '.Speed = ppTransitionSpeedFast
            If .AdvanceOnTime Then
                Debug.Print "Advance time" & vbTab & .AdvanceTime
            End If
            If .AdvanceOnClick Then
                Debug.Print "Advance on click"
            End If
        End With    ' transition

    Next    ' slide

End Sub

Function NameThatTransition(lTransition As Long) As String

    Select Case lTransition
        Case 0
            NameThatTransition = "None"
        ' and so on ... you'll need to edit these to get the string to
        ' match up with the transitions you use most often
        Case 1
            NameThatTransition = "1"
        Case 2
            NameThatTransition = "2"

        Case Else
            ' this just hands back a number for the ones you haven't matched up
            NameThatTransition = CStr(lTransition)
    End Select

End Function

See How do I use VBA code in PowerPoint? to learn how to use this example code.


Page copy protected against web site content infringement by Copyscape Contents © 1995-2008 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.

Español    Deutsch    Français    Português    Italiano    Nederlands    Greek    Japanese    Korean    Chinese



Supercharge your PPT Productivity with PPTools


content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

Show me the transition, speed etc. of each slide
http://www.pptfaq.com/FAQ00847.htm
Last update 31 January, 2007