ChartObject.ShapeRange property (Excel)

Returns a ShapeRange object that represents the specified object or objects. Read-only.

Syntax

expression.ShapeRange

expression An expression that returns a ChartObject object.

Example

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.