Axis related procedures in class Axis (PowerPoint VBA)

This page presents procedures from class Axis related to the theme Axis: AxisBetweenCategories, AxisGroup and AxisTitle


True if the value axis crosses the category axis between categories.

This property applies only to category axes, and it does not apply to 3D charts.

ActivePresentation.Slides(1).Shapes(1).Chart.Axes(1).AxisBetweenCategories = True


Returns the type of axis group.

Possible Values are xlPrimary - The primary axis group, xlSecondary - The secondary axis group.
Dim xagAxisGroup As XlAxisGroup
xagAxisGroup = ActiveWindow.RangeFromPoint.Chart.Axes(1).AxisGroup


Returns the title of the specified axis.

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