S
SidBord
I have a regular worksheet (not a chart sheet) that has 10
charts. I have written a macro that will allow the user to
change the row limits of the SERIES formula. The macro
works, but critical to making it work is knowing what the
"PlotNo" (chart number on the sheet) is. What is the VBA
statement that will tell me what a chart's Plot number is?
He also needs to specify the SERIES number, but he can
determine that by selecting the graph he wants to change.
The two main statements I'm using are:
Set Cht = ActiveSheet.ChartObjects(PlotNo).Chart
Series = Cht.SeriesCollection(SeriesNo).Formula
charts. I have written a macro that will allow the user to
change the row limits of the SERIES formula. The macro
works, but critical to making it work is knowing what the
"PlotNo" (chart number on the sheet) is. What is the VBA
statement that will tell me what a chart's Plot number is?
He also needs to specify the SERIES number, but he can
determine that by selecting the graph he wants to change.
The two main statements I'm using are:
Set Cht = ActiveSheet.ChartObjects(PlotNo).Chart
Series = Cht.SeriesCollection(SeriesNo).Formula