This documentation is archived and is not being maintained.

Visual Basic for Applications Reference

Visual Studio 6.0

For loop not initialized (Error 92)

See Also    Specifics

For loop counters must be initialized. This error has the following cause and solution:

  • You jumped into the middle of a For...Next loop.

    Remove the jump into the loop. Placing labels inside a For...Next loop isn't recommended.

For additional information, select the item in question and press F1.

Show: