Hi All,
I am trying to plot a graph.
I have one workbook with two worksheets, they are Sheet1 and Sheet2.
There are lots of rows of data in both Sheets, I am plotting graphs from the data in Sheet1 and placing them on sheet1 near the data that I am using. Then for one of the graphs I am accessing data from Sheet2, but placing this graph on Sheet1 to keep all of the graphs together for display. Here’s where I have the problem, when I was testing the code on a certain Workbook, it all worked fine, but when I opened up another Workbook, with only two worksheets – Sheet1 and Sheet2, it appears to be exactly the same as my tests Workbook it come up with the “Run-time error 9” – Subscript out of range.
And stops at this line
Here is the is cut down code
Hopefully someone can see what I cannot or offer some advice.
Thanks
Nat
Bookmarks