Hello – I have an Excel 2010 file that has several worksheets in it. Each worksheet has several bar, pie or column charts on them with the data source being the 2011DataPull worksheet. I need a macro to cycle through the sheets and change the data source of each chart or graph etc. to the 2012DataPull worksheet, the ranges will be the same – i just need the charts to point to a different worksheet.
for each worksheet in workbook
change the data range of each chart object from
=’2011DataPull’!…
to = ‘2012DataPull’!…
next worksheet
Any help is greatly appreciated!