Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

Additional resources