Group,
I have a very simple For/Next Loop that simply says:
For rowNo = 2 To 2000
Go do some stuff
Next rowNo
However I need to insert a "Goto the next iteration of this loop" in a IF statement. However I'm struggling to find the correct syntax to make this happen. Can you help?
I need to say:
For rowNo = 2 To 2000
Go do some stuff
If rmRev = 0
Continue For ' Go to the next iteration of the For Loop
End If
Next rowNo
Can you tell me the correct syntax to do this?
Thanks for your help.
Don
I have a very simple For/Next Loop that simply says:
For rowNo = 2 To 2000
Go do some stuff
Next rowNo
However I need to insert a "Goto the next iteration of this loop" in a IF statement. However I'm struggling to find the correct syntax to make this happen. Can you help?
I need to say:
For rowNo = 2 To 2000
Go do some stuff
If rmRev = 0
Continue For ' Go to the next iteration of the For Loop
End If
Next rowNo
Can you tell me the correct syntax to do this?
Thanks for your help.
Don