AnimationBehavior.Timing property (PowerPoint)

Returns a Timing object that represents the timing properties for an animation sequence.

Syntax

expression. Timing

expression A variable that represents an AnimationBehavior object.

Return value

Timing

Example

The following example sets the duration of the first animation sequence on the first slide.

Sub SetTiming()
    ActivePresentation.Slides(1).TimeLine _
        .MainSequence(1).Timing.Duration = 1
End Sub

See also

AnimationBehavior 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.