S
spectrallypure
Dear all,
I have several charts in a sheet for which I need to change the data
ranges. Currently each chart has a different data range, and for each
chart the new desired data range is just an straightforward extension
of the original (i.e., the new data ranges could be easily calculated
from the original ones just by adding a fixed number of rows/
columns).
I am therefore trying to implement a macro for updating the data
ranges of my charts automatically, but so far I haven't found a way
for getting the actual data range of a chart. I guess I'm looking for
something like the opposite of ActiveChart.SetSourceData, i.e.
something like "ActiveChart.GetSourceData".... does anybody know of a
way of getting the current data range of a chart?
Thanks in advance for any help / ideas!
Regards,
Jorge Luis.
I have several charts in a sheet for which I need to change the data
ranges. Currently each chart has a different data range, and for each
chart the new desired data range is just an straightforward extension
of the original (i.e., the new data ranges could be easily calculated
from the original ones just by adding a fixed number of rows/
columns).
I am therefore trying to implement a macro for updating the data
ranges of my charts automatically, but so far I haven't found a way
for getting the actual data range of a chart. I guess I'm looking for
something like the opposite of ActiveChart.SetSourceData, i.e.
something like "ActiveChart.GetSourceData".... does anybody know of a
way of getting the current data range of a chart?
Thanks in advance for any help / ideas!
Regards,
Jorge Luis.