A Do statement is used without a terminating Loop statement. Check that other control structures within the Do...Loop structure are correctly matched. For example, a block If without a matching End If inside the Do...Loop structure may produce this error.