A Loop statement is used without a corresponding Do statement. Check other control structures within the Do...Loop structure and verify that they are correctly matched. For example, an If without a matching End If inside the Do...Loop structure will generate this error.