Continue

Continue

Continues the loop without executing any code following it.

Example

# Shows all i values from 1 to 10 except 7
For i = 1 To 10
  # if i = 7, continue the loop without showing the MsgBox
  If i = 7 Then Continue
  MsgBox("", "Value i = " & i)
Next

Related

For...Next, While...Wend, Break