Share via


ChartObject.TopLeftCell Property

Excel Developer Reference

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.

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

See Also