Table of contents
TOC
Collapse the table of content
Expand the table of content

AnimationSettings.ChartUnitEffect Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns or sets a value that indicates whether the graph range is animated by series, category, or element. Read/write.

Syntax

expression. ChartUnitEffect

expression A variable that represents a AnimationSettings object.

Return Value

PpChartUnitEffect

Remarks

If your graph doesn't become animated, make sure that the Animate property is set to True

The value of the ChartUnitEffect property can be one of these PpChartUnitEffect constants.

|| |:-----| |ppAnimateByCategory| |ppAnimateByCategoryElements| |ppAnimateBySeries| |ppAnimateBySeriesElements| |ppAnimateChartAllAtOnce| |ppAnimateChartMixed|

Example

This example sets shape two on slide three in the active presentation to be animated by series. Shape two must be a graph for this to work.

With ActivePresentation.Slides(3).Shapes(2)

    With .AnimationSettings

        .ChartUnitEffect = ppAnimateBySeries

        .EntryEffect = ppEffectFlyFromLeft

        .Animate = True

    End With

End With

See also

Concepts

AnimationSettings Object

© 2018 Microsoft