AnimationSettings.ChartUnitEffect property (PowerPoint)
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
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.