Effect.Exit Property (PowerPoint)
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.
Constant |
Description |
---|---|
msoFalse |
The effect is not an exit effect. |
msoTrue |
The 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