Hello All,
Let me start by saying that I don't think a dynamically ranged chart will work for what I want. Myself and others will be making many more graphs as time goes on, and you'd have to go in and set up each and every new chart separately with the naming and whatnot.
I'm trying to write a macro that refers to two cells at the top of the worksheet to update a graph's source data. The columns for each series will not change, only the rows. I've copied & pasted a chart. Now, for the newly pasted chart, I want to change the source data, but just the rows in each of the series.
In cell A1, I have the value 1001.
In cell A2, I have the value 2000.
Here's the code I've recorded manually:
Can I reproduce the result of the above code by referencing the values in cells A1 and A2? My idea looks like this (but doesn't work):
Thanks for any tips thrown my way!!
Bookmarks