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

A Continue Do statement can only appear within a Do...Loop loop.

Error ID: BC30782

To correct this error

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

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

  3. Otherwise, remove the Continue Do statement.

See Also

Reference

Continue Statement (Visual Basic)

Do...Loop Statement (Visual Basic)