SlideShowSettings.StartingSlide Property

PowerPoint Developer Reference

Returns or sets the first slide to be displayed in the specified slide show. Read/write.

Syntax

expression.StartingSlide

expression   A variable that represents a SlideShowSettings object.

Return Value
Long

Example

This example runs a slide show of the active presentation, starting with slide two and ending with slide four.

Visual Basic for Applications
  With ActivePresentation.SlideShowSettings
    .RangeType = ppShowSlideRange
    .StartingSlide = 2
    .EndingSlide = 4
    .Run
End With

See Also