ChartObject.TopLeftCell property (Excel)

Returns a Range object that represents the cell that lies under the upper-left corner of the specified object. Read-only.

Syntax

expression.TopLeftCell

expression A variable that represents a ChartObject object.

Example

This example displays the address of the cell beneath the upper-left corner of embedded chart one on Sheet1.

MsgBox "The top-left corner is over cell " & _ 
 Worksheets("Sheet1").ChartObjects(1).TopLeftCell.Address

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.