Hi Lisa ... I think this is what you're after ... If you add it into an appropriate event module (like Worksheet Change or Select or possibly only on Chart Activate) then it will generate a new main page with your data and set that data for the chart.
As a general observation, I'd suggest that you find a better way to identify the cells in each sheet you want to sum; something about those cells that is unique, such as whether they are the only subtotals, or have coloured backgrounds, or have a text in the cell to their left like "Total =". But, if you're sure these cells never change, then I guess you can leave it as it is.
Hope this helps. MM.
Noli nothis permittere te terere.
Bookmarks