SlideShowSettings.RangeType property (PowerPoint)

Returns or sets the type of slide show to run. Read/write.

Syntax

expression. RangeType

expression A variable that represents a SlideShowSettings object.

Remarks

The value of the RangeType property can be one of these PpSlideShowRangeType constants.

ppShowAll
ppShowNamedSlideShow
ppShowSlideRange

Example

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.