For loop control variable '<variablename>' already in use by an enclosing For loop

Nested For loops all must use unique control variables.

Error ID: BC30069

To correct this error

  • Change one of the control variable names.

See Also

Reference

For...Next Statement (Visual Basic)