Muokkaa

Jaa


Effect.Behaviors property (PowerPoint)

Returns a specified slide animation behavior as an AnimationBehaviors collection.

Syntax

expression. Behaviors

expression A variable that represents an Effect object.

Return value

AnimationBehaviors

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

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.