Selection.ShapeRange property (PowerPoint)
Returns a ShapeRange object that represents all the slide objects that have been selected on the specified slide. Read-only.
Syntax
expression.ShapeRange
expression A variable that represents a Selection object.
Return value
ShapeRange
Remarks
The range returned can contain the drawings, shapes, OLE objects, pictures, text objects, titles, headers, footers, slide number placeholder, and date and time objects on a slide.
You can return a shape range from a selection when the presentation is in normal, slide, or any master view.
Example
This example sets the fill foreground color for all the selected shapes in window one.
Windows(1).Selection.ShapeRange.Fill _
.ForeColor.RGB = RGB(255, 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.