Selection.SlideRange Property (PowerPoint)

Returns a SlideRange object that represents a range of selected slides. Read-only.

Syntax

expression. SlideRange

expression A variable that represents a Selection object.

Return Value

SlideRange

Remarks

A slide range can be constructed in slide view, slide sorter view, normal view, notes page view, or outline view. In slide view, SlideRange returns one slide — the current, displayed slide.

Example

This example sets the background scheme color for all the selected slides in window one.

Windows(1).Selection.SlideRange.ColorScheme _
    .Colors(ppBackground).RGB = RGB(0, 0, 255)

See also

Selection Object