This documentation is archived and is not being maintained.

For (Visual Basic)

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

The For keyword is used in these contexts:

For...Next Statement

For Each...Next Statement

Show: