Delen via


'Continue For' can only appear inside a 'For' statement

A Continue For statement can only appear within a For...Next loop.

Error ID: BC30783

To correct this error

  1. If the Continue For statement is in a Do...Loop, change the statement to Continue Do.

    —or—

    If the Continue For statement is in a While...End While loop, change the statement to Continue While.

  2. Otherwise, remove the Continue For statement.

See Also

Reference

Continue Statement (Visual Basic)

For...Next Statement (Visual Basic)