AnimationPoints Object (PowerPoint)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a collection of animation points for a PropertyEffect object.

Use the Points property of the PropertyEffect object to return an AnimationPoints collection object. The following example adds an animation point to the first behavior in the active presentation's main animation sequence.

Sub AddPoint()

    ActivePresentation.Slides(1).TimeLine.MainSequence(1) _

        .Behaviors(1).PropertyEffect.Points.Add

End Sub

Transitions from one animation point to another can sometimes be abrupt or choppy. Use the Smooth property to make transitions smoother. This example smoothes the transitions between animation points.

Sub SmoothTransition()

    ActivePresentation.Slides(1).TimeLine.MainSequence(1) _

        .Behaviors(1).PropertyEffect.Points.Smooth = msoTrue

End Sub
Show: