Partager via


SlideShowSettings.Run Method (PowerPoint)

Runs a slide show of the specified presentation. Returns a SlideShowWindow object.

Syntax

expression .Run

expression A variable that represents a SlideShowSettings object.

Return Value

SlideShowWindow

Remarks

To run a custom slide show, set the RangeType property to ppShowNamedSlideShow, and set the SlideShowName property to the name of the custom show you want to run.

Example

This example starts a full-screen slide show of the active presentation, with shortcut keys disabled.

With ActivePresentation.SlideShowSettings

    .ShowType = ppShowSpeaker

    .Run.View.AcceleratorsEnabled = False

End With

This example runs the named slide show "Quick Show."

With ActivePresentation.SlideShowSettings

    .RangeType = ppShowNamedSlideShow

    .SlideShowName = "Quick Show"

    .Run

End With

See Also

Concepts

SlideShowSettings Object

SlideShowSettings Object Members