I have this piece of VBA code
With sheet1.ChartObjects("Chart 2").Chart.Axes(xlValue)
.MinimumScale = ChartMinY
.MaximumScaleIsAuto = True
End With
When execution comes to .MinimumScale = ChartMinY
where ChartMinY is 0.0844, excel throws an exception.
Err.Description
is
Automation error
Unspecified error
and Err.Number
is -2147467259
It apparently works in Excel 2002