Share via


AnimationBehavior.Accumulate Property

PowerPoint Developer Reference

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 do not accumulate.

Example

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

Visual Basic for Applications
  Sub SetAccumulate()
Dim animBehavior As AnimationBehavior

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

animBehavior.<strong>Accumulate</strong> = msoAnimAccumulateAlways

End Sub

See Also