Sequence.AddTriggerEffect (PowerPoint)
Adds a trigger effect to the animation in a Sequence object.
AddTriggerEffect (pShape, effectId, trigger, pTriggerShape, bookmark, Level)
Dim effAddTriggerEffect As Effect
Set effAddTriggerEffect = ActivePresentation.SlideMaster.TimeLine.MainSequence.AddTriggerEffect(pShape:=, effectId:=msoAnimEffect3DArrive, trigger:=msoAnimTriggerAfterPrevious, pTriggerShape:=)
Arguments
The following arguments are required:
pShape (Shape) - The Shape object with animation.
effectId (MsoAnimEffect) - The type of animation.
Here you can find possible values for
trigger (MsoAnimTriggerType) - The type of trigger effect to add.
Possible values are
msoAnimTriggerAfterPrevious | After the Previous button is clicked. |
msoAnimTriggerMixed | Mixed actions. |
msoAnimTriggerNone | No action associated as the trigger. |
msoAnimTriggerOnMediaBookmark | |
msoAnimTriggerOnPageClick | When a page is clicked. |
msoAnimTriggerOnShapeClick | When a shape is clicked. |
msoAnimTriggerWithPrevious | When the Previous button is clicked. |
pTriggerShape (Shape) - The Shape object that represents the trigger.
Optional arguments
The following arguments are optional
bookmark (String) - The bookmark.
Level (MsoAnimateByLevel) - The level of animation.
Here you can find possible values for