Effect.Behaviors property (PowerPoint)

Returns a specified slide animation behavior as an AnimationBehaviors collection.


expression. Behaviors

expression A variable that represents an Effect object.

Return value



To return a single AnimationBehavior object in the AnimationBehaviors collection, use the Item method or Behaviors (index), where index is the index number of the AnimationBehavior object in the AnimationBehaviors collection.


The following example returns a specific animation behavior type in the active presentation.

Sub ReturnTypeValue
    MsgBox ActiveWindow.Selection.SlideRange(1).TimeLine _
End Sub

See also

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