I keep getting an application/object defined error for a line of code. I have a loop similar to this one that works fine with the same varaibles. I also reference cells in the same way in other parts of the code without error. Here is the code :
For i = 1 To FLAGNUM
If...