This provides a way to exit a For loop
It can only be used on a For - Next or For Each Loop
Exit For transfers control to the statement following the Next statement.
Provides a way to exit a Do loop
This transfers control to the statement following the Loop statement
When an Exit Do statement is executed the loop ends immediately.
Do - While Loops can contain one or more Exit Do statements.
© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext