Exit Property

Microsoft PowerPoint Visual Basic

that represents whether the animation effect is an exit effect. Read/write.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse The effect is not an exit effect.
msoTriStateMixed
msoTriStateToggle
msoTrue The effect is an exit effect.

expression.Exit

expression    Required. An expression that returns one of the objects in the Applies To list.

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