This documentation is archived and is not being maintained.
Represents a single axis in a chart.
The Axis object is a member of the Axes collection.
is the axis type and
is the axis group to return a single Axis
can be one of the following XlAxisType
, or xlValue
can be one of the following XlAxisGroup
. For more information, see the Axes
The following example sets the category axis title text on the chart sheet named "Chart1."
|Visual Basic for Applications|
.HasTitle = True
.AxisTitle.Caption = "1994"