Class SetEffect (PowerPoint VBA)
The class SetEffect represents a set effect for an animation behavior. You can use the SetEffect object to set the value of a property. To use a SetEffect class variable it first needs to be instantiated, for example
Dim set as SetEffect
Set set = ActivePresentation.SlideMaster.TimeLine.MainSequence(1).Behaviors(1).SetEffect
Property
Sets or returns an MsoAnimProperty constant that represents an animation property. Here you can find possible values for
ActiveWindow.Selection.SlideRange(1).TimeLine.MainSequence(1).Behaviors(1).SetEffect.Property = msoAnimColor
To
Sets or returns a Variant that represents the value or ending value of the SetEffect object's Type property.
Do not confuse this property with the ToX or ToY properties of the ScaleEffect and MotionEffect objects, which are only used for scaling or motion effects.
ActivePresentation.SlideMaster.TimeLine.MainSequence(1).Behaviors(1).SetEffect.To =