Hi Guys,
I have some code that is like this:
For i = 1 To Num
If criteria
do some stuf
Num = Num + 1
End if
Next i
So basically, each time the condition is true, along with doing all the stuff, i also want it to run an extra time.
I though the above code would be fine, but say Num is originally 20, it will still only run to 20 even when Num now = 24 after being modified from within the loop.
Any clues as to how I could fix this?
Thanks in advance.
Bookmarks