Axes.Item (PowerPoint)

Returns a single Axis object from an Axes collection.

Syntax : expression.Item (Type, AxisGroup)

Dim axi As Axis
Set axi = ActivePresentation.Slides(1).Shapes(1).Chart.Axes(Type:=1)


The following argument is required

Type (XlAxisType) - The axis type.

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

The following argument is optional

AxisGroup (XlAxisGroup) - The axis.

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