For
Previous
Top
Next
Loop statement that changes a variable value.
Syntax: For variable = Value To Value [Step Value]
Step default is 1.
Example:
For i = 10 To 0 Step -1
Msgbox (i)
Next
Result: It will display a countdown from 10 to 0