For...Next Statement
Brian Element
The For...Next statement repeats a block of code a specified number of times.
- Index is a variable that is used to count loop repetitions. It is usually declared to be type Integer.
- Start is an expression specifying the starting value of index.
- Stop is an expression specifying the ending value of index.
Optionally, For...Next can use an increment value other than 1.