Continue
Immediately begins the next iteration of the enclosing loop.
Syntax: Continue [ Do | For | While ]
Note
Continue is a twinBASIC extension. Classic VBA has no skip-iteration form for any loop construct — the closest equivalent is a forward GoTo to a label placed just before the loop’s terminator.
Example
This example uses Continue For to skip processing of certain characters of the string.
Dim i%, ch$, text$
For i = 1 To 10
ch = Mid$(text, i, 1)
If ch = " " Then Continue For
' Process a non-space character here
Next i