Loops


For - Next

Looping for a given number of times. more details


For Each - Next

Looping through all elements in a collection. more details
The data type of oItem must be Variant.


Do - While

Looping while a condition is true. more details


Do - Until

Looping until a condition is meet. more details


Do - Loop

Looping indefinitely. Must include an Exit Do statement. more details


While - Wend

This statement is provided for backwards compatibility and should not be used. more details


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