Hey All,
So I have a macro that can help format series on a graph. One of the things it can do is is switch a series from the 1st Y-Axis to the 2nd and vise versa. The problem is if ALL the series go onto the 2nd axis it can mess up the X-Axis labels. Essentially, I know you can count the number of series in a chart, but I want to be able to count the number of series on each Y-Axis. This way I can figure out if the macro is about to move all of the series over to the 2nd axis and I can throw up a warning message.
Alternatively, is there a way to figure out if any given series is on which axis?
Thanks in advance you any and all help!
Cheers.
So I have a macro that can help format series on a graph. One of the things it can do is is switch a series from the 1st Y-Axis to the 2nd and vise versa. The problem is if ALL the series go onto the 2nd axis it can mess up the X-Axis labels. Essentially, I know you can count the number of series in a chart, but I want to be able to count the number of series on each Y-Axis. This way I can figure out if the macro is about to move all of the series over to the 2nd axis and I can throw up a warning message.
Alternatively, is there a way to figure out if any given series is on which axis?
Thanks in advance you any and all help!
Cheers.