title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
SlideShowSettings.Run method (PowerPoint) |
vbapp10.chm514008 |
|
|
497fae3b-b6a3-dc26-20d9-bdc8057ddc09 |
06/08/2017 |
medium |
Runs a slide show of the specified presentation. Returns a SlideShowWindow object.
expression.Run
expression A variable that represents a SlideShowSettings object.
SlideShowWindow
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.
Note
This method has a different set of parameters on Microsoft PowerPoint for Mac:
Run([pSSWin AS SlideShowWindow], [pPVWin As PresenterViewWindow], [isPresenter As Boolean = False]) As Object
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
[!includeSupport and feedback]