S
SidBord
I have written a macro that allows a user to select a
specific series on an embedded chart, then specify a change
to the series limit ranges. It works very well, EXCEPT I
have not figured out how to write a statement that will
return the index number of the selected series. I
mistakenly believed that the series index number is the
last number on the right end of the series formula. It's
not. That's the plotting order sequence number, and it can
change. I need the series index number, which I think is
unique within the workbook. I tried using SELECTION.NAME
after selecting the series with my cursor, but about half
the time it returned the chart index. When it succeeded,
it would return the series name, if it exists, or a value
like SERIES4, if the name does not exist. That's too iffy.
I need a statement that will consistently give me the
series index number. Anyone know how to do that?
specific series on an embedded chart, then specify a change
to the series limit ranges. It works very well, EXCEPT I
have not figured out how to write a statement that will
return the index number of the selected series. I
mistakenly believed that the series index number is the
last number on the right end of the series formula. It's
not. That's the plotting order sequence number, and it can
change. I need the series index number, which I think is
unique within the workbook. I tried using SELECTION.NAME
after selecting the series with my cursor, but about half
the time it returned the chart index. When it succeeded,
it would return the series name, if it exists, or a value
like SERIES4, if the name does not exist. That's too iffy.
I need a statement that will consistently give me the
series index number. Anyone know how to do that?