Chart.Axes (PowerPoint)

Returns a collection of axes on the chart.

Syntax : expression.Axes (Type, AxisGroup)

Dim axs As Axes
Set axs = ActivePresentation.Slides(1).Shapes(1).Chart.Axes()

Arguments

The following arguments are optional

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

Possible Values are xlCategory - Axis displays categories, xlSeriesAxis - Axis displays data series, xlValue - Axis displays values.

AxisGroup (XlAxisGroup) - One of the enumeration values that specifies the axis group. The default is xlPrimary.

Possible Values are xlPrimary - The primary axis group, xlSecondary - The secondary axis group.