HasTitle Property

True if the axis or chart has a visible title. Read/write Boolean.

Remarks

An axis title is represented by an [AxisTitle](Excel.AxisTitle(Graph object).md) object.

A chart title is represented by a [ChartTitle](Excel.ChartTitle(Graph object).md) object.

Example

This example adds an axis label to the category axis.

With myChart.Axes(xlCategory) 
 .HasTitle = True 
 .AxisTitle.Text = "July Sales" 
End With