The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ChartTitle Object

Office 2007
Represents the chart title.


Use the ChartTitle property to return the ChartTitle object.

The ChartTitle object doesn’t exist and cannot be used unless the HasTitle property for the chart is True.

The following example adds a title to embedded chart one on the worksheet named "Sheet1."

Visual Basic for Applications
With Worksheets("sheet1").ChartObjects(1).Chart
    .HasTitle = True
    .ChartTitle.Text = "February Sales"
End With

Community Additions