Table of contents
TOC
Collapse the table of content
Expand the table of content

Effect.Exit Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines whether the animation effect is an exit effect. Read/write.

Syntax

expression. Exit

expression A variable that represents an Effect object.

Return Value

MsoTriState

Remarks

The value of the Exit property can be one of these MsoTriState constants.

ConstantDescription
msoFalseThe effect is not an exit effect.
msoTrueThe effect is an exit effect.

Example

This example displays whether the specified animation is an exit animation effect.

Sub EffectExit()

    Dim effMain As Effect

    Set effMain = ActivePresentation.Slides(1).TimeLine.MainSequence(1)

    If effMain.Exit = msoTrue Then

        MsgBox "This is an exit animation effect."

    Else

        MsgBox "This is not an exit animation effect."

    End If

End Sub

See also

Concepts

Effect Object

© 2018 Microsoft