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

SlideShowSettings 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.