Add related procedures in class AnimationBehavior (PowerPoint VBA)

This page presents procedures from class AnimationBehavior related to the theme Add: Additive and AnimationBehaviors.Add


Sets or returns whether the current animation behavior is combined with other running animations.

Possible Values are msoAnimAdditiveAddBase - Uses the animation behavior of the base animations, msoAnimAdditiveAddSum - Adds together the animation behavior of multiple animations.

The value of the Additive property can be one of these MsoAnimAdditive constants.

ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence(1).Behaviors(1).Additive = msoAnimAdditiveAddBase


Returns an AnimationBehavior object that represents a new animation behavior.

The Type parameter value can be one of these MsoAnimType constants.

Syntax : expression.Add (Type, Index)

Dim abr As AnimationBehavior
Set abr = ActivePresentation.SlideMaster.TimeLine.MainSequence(1).Behaviors.Add(Type:=msoAnimTypeColor)


The following argument is required

Type (MsoAnimType) - The type of the animation behavior.

Here you can find possible values for MsoAnimType.

The following argument is optional

Index (Long) - The position of the animation behavior in relation to other animation behaviors. The default value is -1, which means that if you omit the Index parameter, the new animation behavior is added at the end of the existing animation behaviors.