Axis.AxisTitle Property

Excel Developer Reference

Returns an AxisTitle object that represents the title of the specified axis. Read-only.

Syntax

expression.AxisTitle

expression   A variable that represents an Axis object.

Remarks

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

Example

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

See Also