Effect.DisplayName property (PowerPoint)
Returns the name of an animation effect. Read-only.
Syntax
expression.DisplayName
expression A variable that represents a Effect object.
Return value
String
Example
This example displays the name for the first animation sequence of the first slide's main animation sequence timeline.
Sub DisplayEffectName()
Dim effMain As Effect
Set effMain = ActivePresentation.Slides(1).TimeLine.MainSequence(1)
MsgBox effMain.DisplayName
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.