Skip to content

Files

Latest commit

author
Docs Allowlist Management
Jan 12, 2024
5c5cb03 · Jan 12, 2024

History

History
79 lines (43 loc) · 1.57 KB

PowerPoint.SlideShowSettings.Run.md

File metadata and controls

79 lines (43 loc) · 1.57 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
SlideShowSettings.Run method (PowerPoint)
vbapp10.chm514008
vbapp10.chm514008
PowerPoint.SlideShowSettings.Run
497fae3b-b6a3-dc26-20d9-bdc8057ddc09
06/08/2017
medium

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.

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

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

[!includeSupport and feedback]