so I am wondering how to scale a chart so that the minimum value of the y-axis becomes the minimum value between all the series that are on the chart. Here is the code that I am working with:
Sub This() With Sheets("Plots").ChartObjects("The Chart").Chart.Axes(xlValue) For i = ActiveChart.SeriesCollection.Count To 1 Step -1 **find minimum value** Next i .MinimumScale = miny End With End Sub
ActiveChartis different fromThe Chart. Read More about With ... End With Blocks