Timing.Speed property (PowerPoint)

Returns or sets the speed, in seconds, of the specified animation. Read/write.

Syntax

expression. Speed

expression A variable that represents a Timing object.

Return value

Single

Example

This example sets the animation for the main sequence to reverse and sets the speed to one second.

Sub AnimPoints()

    Dim tmlAnim As TimeLine

    Dim spdAnim As Timing



    Set tmlAnim = ActivePresentation.Slides(1).TimeLine

    Set spdAnim = tlnAnim.MainSequence(1).Timing

    With spdAnim

        .AutoReverse = msoTrue

        .Speed = 1

    End With

End Sub

See also

Timing Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.