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.

AxisTitle Object

Office 2007
Represents a chart axis title.


Use the AxisTitle property to return an AxisTitle object.

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

The following example activates embedded chart one, sets the value axis title text, sets the font to Bookman 10 point, and formats the word millions as italic.

Visual Basic for Applications
With ActiveChart.Axes(xlValue)
    .HasTitle = True
    With .AxisTitle
        .Caption = "Revenue (millions)"
        .Font.Name = "bookman"
        .Font.Size = 10
        .Characters(10, 8).Font.Italic = True
    End With
End With

Community Additions