'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
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.
Otherwise, remove the Continue For statement.