Syntax
| For Num = First To Last [Step Inc]
statements
Next [Num]
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Execute statements while Num is in the range First to Last.
| ||||||||||
See Also
|
| ||||||||||
Example
| Sub Main
For I = 1 To 2000 Step 100
Debug.Print I;I+I;I*I
Next I
End Sub
|