Loops



Exit For

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.

Exit For 


Exit Do

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.

Exit Do 

Do - While Loops can contain one or more Exit Do statements.


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext