Axis.AxisGroup (Excel)

Returns the group for the specified axis. Possible return values are xlPrimary - Primary axis group, xlSecondary - Secondary axis group.


Dim xagAxisGroup As XlAxisGroup
xagAxisGroup = ActiveChart.Axes(1).AxisGroup