Partager via


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

Concepts

Effect Object Members

Effect Object