Exit Do not within Do...Loop
An Exit Do statement is used outside of a Do...Loop statement. Make sure a valid Do statement precedes the Exit Do.