Returns or sets a PpAfterEffect constant that indicates whether the specified shape appears dimmed, hidden, or unchanged after it is built.Possible Values are ppAfterEffectDim - Appears dimmed, ppAfterEffectHide - Hides, ppAfterEffectHideOnClick - Hidden when clicked, ppAfterEffectMixed - Mixed effect, ppAfterEffectNothing - No effect.
You won't see the aftereffect 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. The value of the AfterEffect property can be one of these PpAfterEffect constants.
ActivePresentation.Slides(2).Shapes(2).AnimationSettings.AfterEffect = ppAfterEffectDim