For
Loops a counter from one value to another.
For variable = first To last [Step amount] ... Next
Parameters
- None.
Description
Repeats some lines, counting a variable from one number to another. The count goes up by 1 each time unless Step says otherwise; when it passes the last number, the program carries on after Next, with the variable one step past the end. For i = 1 To 10 runs ten times. For Each also loops over every object of a Type.
