Share via


Timing.Speed Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  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
    .<strong>Speed</strong> = 1
End With

End Sub

See Also