Hi everybody,
I have a large worksheet with data (always increasing), and I have a lot of graphic sheets each containing a scatter plot of a part of these data. Thus, in these sheets, there is a graphic defined by:
=SERIES(data!$B$1,data!$A$2:$A$1350,data!$B$2:$B$1350,1) for the first sheet,
=SERIES(data!$C$1,data!$A$2:$A$1350,data!$C$2:$C$1350,1) for the second,
=SERIES(data!$D$1,data!$A$2:$A$1350,data!$D$2:$D$1350,1) and so on.
When my data range becomes larger, I have to change $1350 to, say, $1400 in every and each of the charts. And still worse, I have to do it by hand, because search and replace doesn't work on graphics!
That's the reason why I'm looking for a VBA macro I could apply on each graphic sheet to update its range.
If somebody could help me, I'd really appreciate.
Thank you.
O.
I have a large worksheet with data (always increasing), and I have a lot of graphic sheets each containing a scatter plot of a part of these data. Thus, in these sheets, there is a graphic defined by:
=SERIES(data!$B$1,data!$A$2:$A$1350,data!$B$2:$B$1350,1) for the first sheet,
=SERIES(data!$C$1,data!$A$2:$A$1350,data!$C$2:$C$1350,1) for the second,
=SERIES(data!$D$1,data!$A$2:$A$1350,data!$D$2:$D$1350,1) and so on.
When my data range becomes larger, I have to change $1350 to, say, $1400 in every and each of the charts. And still worse, I have to do it by hand, because search and replace doesn't work on graphics!
That's the reason why I'm looking for a VBA macro I could apply on each graphic sheet to update its range.
If somebody could help me, I'd really appreciate.
Thank you.
O.