Share via


Behaviors Property

Behaviors Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a specified slide animation behavior as an AnimationBehaviors collection.

expression.Behaviors

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

Remarks

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.

Example

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

  Sub ReturnTypeValue
    MsgBox ActiveWindow.Selection.SlideRange(1).TimeLine _
        .MainSequence(1).Behaviors.Item(1).Type
End Sub