AfterEffect Property

Microsoft PowerPoint Visual Basic

Show All

AfterEffect Property

       

AfterEffect property as it applies to the EffectInformation object.

Returns an MsoAnimAfterEffect constant that indicates whether an after effect is dimmed, hidden, or unchanged after it runs. Read-only.

MsoAnimAfterEffect can be one of these MsoAnimAfterEffect constants.
msoAnimAfterEffectDim
msoAnimAfterEffectHide
msoAnimAfterEffectHideOnNextClick
msoAnimAfterEffectMixed
msoAnimAfterEffectNone

expression.AfterEffect

expression   Required. An expression that an EffectInformation object.

AfterEffect property as it applies to the AnimationSettings object.

Returns or sets a PpAfterEffect constant that indicates whether the specified shape appears dimmed, hidden, or unchanged after it's been built. Read/write.

PpAfterEffect can be one of these PpAfterEffect constants.
ppAfterEffectDim
ppAfterEffectHide
ppAfterEffectHideOnClick
ppAfterEffectMixed
ppAfterEffectNothing

expression.AfterEffect

expression   Required. An expression that returns an AnimationSettings object .

Remarks

You won't see the after effect you set for a shape unless the shape gets animated and at least one other shape on the slide gets animated after it. For a shape to be animated, the TextLevelEffect property of the AnimationSettings object for the shape must be set to something other than ppAnimateLevelNone, or the EntryEffect property must be set to a constant other than ppEffectNone. In addition, the Animate property must be set to True. To change the build order of the shapes on a slide, use the AnimationOrder property.

Example

This example specifies that the title on slide one in the active presentation is to appear dimmed after the title is built. If the title is the last or only shape to be built on slide one, the text won't be dimmed.

With ActivePresentation.Slides(1).Shapes.Title.AnimationSettings
    .Animate = True
    .TextLevelEffect = ppAnimateByAllLevels
    .AfterEffect = ppAfterEffectDim
End With