G
Guest
If i have a nested for loop and put an END FOR in the inner loop, will it
exit just the inner loop or both loops?
exit just the inner loop or both loops?
Exit For
Provides a way to exit a For loop. It can be used only in a
For...Next or For Each...Next loop. Exit For transfers control to
the statement following the Next statement. When used within nested
For loops, Exit For transfers control to the loop that is one
nested level above the loop where Exit For occurs.