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
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.