Flow Control

Top  Previous  Next

Do...Loop - Control Loops
The Do...Loop function consists of several different loops types which are used when the number of iterations is unknown.

For Each...Next - Loop Through Collections
For Each...Next loops allow you to iterate through a collection of object or array elemets without having to specify a start, end or step value.

For...Next - Static Stepping Control Loop
For...Next loops are used to execute a set of instructions a specified number of times.

If..Then..Else - Conditional Processing Depending on Result
This function is used to execute a set of instructions based on whether certain conditions are found to be true or false.

Select Case - Checking Muliple Variable Conditions
The Select Case function is used to check whether the content of a single variable is equal to multiple values.

While...WEnd - Control Loop
The While...WEnd loops like a Do...Loop until a condition is met.