Class SlideShowTransition (PowerPoint VBA)

Contains information about how the specified slide advances during a slide show. To use a SlideShowTransition class variable it first needs to be instantiated, for example


Dim sst as SlideShowTransition
Set sst = ActivePresentation.SlideMaster.SlideShowTransition

AdvanceOnClick

Determines whether the specified slide advances when it is clicked during a slide show.

To set the slide to advance automatically after a certain amount of time elapses, set the AdvanceOnTime property to True and set the AdvanceTime property to the amount of time you want the slide to be shown. If you set both the AdvanceOnClick and the AdvanceOnTime properties to True, the slide advances either when it is clicked or when the specified amount of time has elapsed—whichever comes first. The value of the AdvanceOnClick property can be one of these MsoTriState constants.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.AdvanceOnClick = msoTrue

AdvanceOnTime

Determines whether the specified slide advances automatically after a specified amount of time has elapsed.

Use the AdvanceTime property to specify the number of seconds after which the slide automatically advances. Set the AdvanceMode property of the SlideShowSettings object to ppSlideShowUseSlideTimings to put the slide interval settings into effect for the entire slide show. The value of the AdvanceOnTime property can be one of these MsoTriState constants.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.AdvanceOnTime = msoTrue

AdvanceTime

Returns or sets the amount of time, in seconds, after which the specified slide transition will occur.

To put the slide interval settings into effect for the entire slide show, set the AdvanceMode property of the SlideShowSettings object to ppSlideShowUseSlideTimings.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.AdvanceTime = 5

Duration

Returns or sets the length of an animation in seconds.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.Duration = 5

EntryEffect

Returns or sets the special effect applied to the specified slide transition. Here you can find possible values for PpEntryEffect.

If the TextLevelEffect property for the specified shape is set to ppAnimateLevelNone (the default value) or the Animate property is set to False, you won't see the special effect you've applied with the EntryEffect property.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.EntryEffect = ppEffectAirplaneLeft

Hidden

Determines whether the specified slide is hidden during a slide show.

The value of the Hidden property can be one of these MsoTriState constants.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.Hidden = msoTrue

LoopSoundUntilNext

Specifies whether the sound that's been set for the specified slide transition loops until the next sound starts.

The value of the LoopSoundUntilNext property can be one of these MsoTriState constants.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.LoopSoundUntilNext = msoTrue

SoundEffect

Returns a SoundEffect object that represents the sound to be played during the transition to the specified slide.


Dim setSoundEffect As SoundEffect
Set setSoundEffect = ActiveWindow.Selection.SlideRange(1).SlideShowTransition.SoundEffect

Speed

Represents the speed of the transition to the specified slide. Possible return values are ppTransitionSpeedFast - Fast, ppTransitionSpeedMedium - Medium, ppTransitionSpeedMixed - Mixed, ppTransitionSpeedSlow - Slow.

The value of the Speed property can be one of these PpTransitionSpeed constants.


ActiveWindow.Selection.SlideRange(1).SlideShowTransition.Speed = ppTransitionSpeedFast