Accumulate Property

Microsoft PowerPoint Visual Basic

Show All

Accumulate Property

       

Sets or returns an MsoAnimAccumulate constant that represents whether animation behaviors accumulate. Read/write.

MsoAnimAccumulate can be one of these MsoAnimAccumulate constants.
msoAnimAccumulateAlways Repetitions start with the current value.
msoAnimAccumulateNone  Default.

expression.Accumulate

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

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