Iteration commands provide a structured method to repeat execution of certain portions of a procedure.

Command

Description

For...Next statement

Loops a fixed number of times while the counter is less than or equal to a specified value. Can be used with Until/While.

Loop...Repeat statement

Repeats statements between the Loop and Repeat until some condition forces an exit. Loop...Repeat is frequently used with Until/While.

  • No labels