Visual Basic Language Reference  

For

The For keyword introduces a loop that is iterated with different values of a loop variable.

The For keyword is used in these contexts:

For...Next Statements

For Each...Next Statements

See Also

Visual Basic Language Keywords