ChartGroup.AxisGroup Property (Excel)
Returns or sets the group for the specified chart. Read/write
Version Information
Version Added: Excel 2010
Syntax
expression .AxisGroup
expression A variable that represents a ChartGroup object.
Return Value
Remarks
For 3-D charts, only xlPrimary is valid.
Example
This example deletes the value axis if it is in the secondary group.
With myChart.Axes(xlValue)
If .AxisGroup = xlSecondary Then .Delete
End With