Effect.EffectParameters property (PowerPoint)
Returns an EffectParameters object that represents animation effect properties.
Syntax
expression. EffectParameters
expression A variable that represents an Effect object.
Return value
EffectParameters
Example
This example adds an effect to the main animation sequence on the first slide. This effect changes the font for the first shape to Broadway.
Sub ChangeFontName()
Dim shpText As Shape
Dim effNew As Effect
Set shpText = ActivePresentation.Slides(1).Shapes(1)
Set effNew = ActivePresentation.Slides(1).TimeLine.MainSequence _
.AddEffect(Shape:=shpText, EffectId:=msoAnimEffectChangeFont)
effNew.EffectParameters.FontName = "Broadway"
End Sub
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.