ChartObjects.ShapeRange property (Excel)
Returns a ShapeRange object that represents the specified object or objects. Read-only.
expression An expression that returns a ChartObjects object.
This example creates a shape range that represents the embedded charts on worksheet one.
Set sr = Worksheets(1).ChartObjects.ShapeRange
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.