AxisGroup Property Example

This example deletes the value axis in Chart1 if the axis is in the secondary group.

With Charts("Chart1").Axes(xlValue)
    If .AxisGroup = xlSecondary Then .Delete
End With