Hello everyone.
The problem I have is with my macro for a chart.
I use data from worksheet "Graph Data" and plot the chart (two y-axes) on the worksheet "Graph".
My data include 0 values but I've tested different datasets (with and without values) and I keep getting the same message:
Run-Time error '1004':
Unable to set the AxisGroup property of the Series class
The macro breaks at row 64 (rows 64 and 64 have 0 values but so do previous rows) with that message. On debugging the macro I see that the culprit is the:
bits of code.Please Login or Register to view this content.
I attach the relevant spreadsheets with the macro. Any help will be greatly appreciated.
Please keep in mind that the number of rows is dynamic and I have that accounted by using another piece of code.
If you change the following line:
toPlease Login or Register to view this content.
everything works fine. As soon as it goes over row 63 it breaks down.Please Login or Register to view this content.
Any ideas will be greatly appreciated.
Bookmarks