PpChartUnitEffect can be one of these PpChartUnitEffect constants. |
ppAnimateByCategory |
ppAnimateByCategoryElements |
ppAnimateBySeries |
ppAnimateBySeriesElements |
ppAnimateChartAllAtOnce |
ppAnimateChartMixed |
expression.ChartUnitEffect
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
If your graph doesn't become animated, make sure that the Animate property is set to True
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