Is there a way to branch to the end of a For loop without extra statements? In FORTRAN, every Do Loop ended with a statement number so it was easy to branch to the bottom of the loop. For example
if something go to 10Do 10 I = 1 to 5
10 Continue
In VBA, you can accomplish the same thing with, say,
Yes, I know that with the proper use of If statments, this kind of branching is not necessary. But humour me ... Is there a way to branch directly to the end of the For loop?For I = 1 To 5 If something Then goto NextI NextI: Next I