AnimationBehavior.Accumulate property (PowerPoint)

Determines whether animation behaviors accumulate. Read/write.

Syntax

expression. Accumulate

expression A variable that represents an AnimationBehavior object.

Return value

MsoAnimAccumulate

Remarks

Use this property in conjunction with the Additive property to combine animation effects.

The value of the Accumulate property can be one of these MsoAnimAccumulate constants.

Constant Description
msoAnimAccumulateAlways Animation behaviors accumulate.
msoAnimAccumulateNone The default. Animation behaviors don't accumulate.

Example

The following example allows a specified animation behavior to accumulate with other animation behaviors.

Sub SetAccumulate()

    Dim animBehavior As AnimationBehavior

    Set animBehavior = ActiveWindow.Selection.SlideRange(1).TimeLine. _
        MainSequence(1).Behaviors(1)

    animBehavior.Accumulate = msoAnimAccumulateAlways

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.