HasAxis Property Example
This example turns on the primary value axis for Chart1.
Charts("Chart1").HasAxis(xlValue, xlPrimary) = True