In Visual Basic, the Continue statement will complete the current iteration of a loop and start the next, if any.
Code:
For i = 1 to 10
...do some work
If [some condition] then Continue For
...do the rest of the work
Next i
In VBA, the Continue statement gets flagged as invalid.
What's the proper way to end just the current iteration of a For loop in VBA without exiting the loop entirely (Exit Loop)?
Is this different for VBA under Word vs under Excel?