Share via


For (Visual Basic) 

Introduces a loop that is iterated with different values of a loop variable.

Remarks

The For keyword is used in these contexts:

For...Next Statement

For Each...Next Statement

See Also

Reference

Visual Basic Language Keywords