I have the following line from a plotting script I made:
It works fine in Excel 2010, but fails in Excel 2003.![]()
Please Login or Register to view this content.
The variable y is dimensioned as an integer and is either 0 or 1. When it gets to the two lines highlighted in red I get a Run-time error '1004': Method 'Cells' of object '_Global' failed. y is referenced many times prior to that line of code without issue, so I just appears to be a problem with how I attempt to select two different cells on the worksheet.
Thanks!
Bookmarks