Chart.Axes (Excel)

Returns an axes that represents either a single axis or a collection of the axes on the chart.

Axes (Type, AxisGroup)

Dim axs As Axes
Set axs = ActiveChart.Axes()


Optional arguments

The following arguments are optional

Type - Specifies the axis to return. Can be one of the following XlAxisType constants: xlValue, xlCategory, or xlSeriesAxis (xlSeriesAxis is valid only for 3D charts)

AxisGroup (XlAxisGroup) - Specifies the axis group. If this argument is omitted, the primary group is used. 3D charts have only one axis group.

Possible Values are xlPrimary - Primary axis group, xlSecondary - Secondary axis group.

Chart.Axes procedure builder