Sequence.ConvertToAfterEffect (PowerPoint)

Specifies what an effect should do after it is finished. Returns an Effect object that represents an after effect.

Do not use both the DimColor and DimSchemeColor arguments in the same call to this method. An after effect may have one color, or use a predefined color scheme, but not both.

ConvertToAfterEffect (Effect, After, DimColor, DimSchemeColor)


Dim effConvertToAfterEffect As Effect
Set effConvertToAfterEffect = ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence.ConvertToAfterEffect(Effect:=, After:=msoAnimAfterEffectDim)

Arguments

The following arguments are required:

Effect (Effect) - The effect to which the after effect will be added.

After (MsoAnimAfterEffect) - The behavior of the after effect.


Possible values are

msoAnimAfterEffectDim Dimmed
msoAnimAfterEffectHide Hidden
msoAnimAfterEffectHideOnNextClick Hidden on the next mouse click
msoAnimAfterEffectMixed Mixed
msoAnimAfterEffectNone Unchanged

Optional arguments

The following arguments are optional

DimColor (Long) - A single color to apply the after effect.

DimSchemeColor (PpColorSchemeIndex) - A predefined color scheme to apply to the after effect.

Here you can find possible values for PpColorSchemeIndex