Slide.SlideShowTransition property (PowerPoint)

Returns a SlideShowTransition object that represents the special effects for the specified slide transition. Read-only.

Syntax

expression. SlideShowTransition

expression A variable that represents a Slide object.

Return value

SlideShowTransition

Example

This example sets slide two in the active presentation to advance automatically after 5 seconds during a slide show and to play a dog bark sound at the slide transition.

With ActivePresentation.Slides(2).SlideShowTransition
    .AdvanceOnTime = True
    .AdvanceTime = 5
    .SoundEffect.ImportFromFile "c:\windows\media\dogbark.wav"
End With

ActivePresentation.SlideShowSettings.AdvanceMode = _
    ppSlideShowUseSlideTimings

See also

Slide Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.