HasTitle Property

Applies To

Axis Object, Chart Object.

Description

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

Remarks

An axis title is an AxisTitle object.

A chart title is a ChartTitle object.

Example

This example adds an axis label to the category axis in Chart1.


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