ChartGroup.AxisGroup (Excel)

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

For 3D charts, only xlPrimary is valid.


ActiveChart.ChartGroups(1).AxisGroup = xlPrimary