Can someone let me know why this is giving an error at .Axes(xlValue).CrossesAt = 0?
Sub Macro2()
ActiveSheet.ChartObjects("Chart 1").Activate
With ActiveChart
.Axes(xlValue).CrossesAt = 0
.Axes(xlCategory).CrossesAt = 0
End With
End Sub
Thanks
Sub Macro2()
ActiveSheet.ChartObjects("Chart 1").Activate
With ActiveChart
.Axes(xlValue).CrossesAt = 0
.Axes(xlCategory).CrossesAt = 0
End With
End Sub
Thanks
Last edited: