Exit For not within For...Next

An Exit For statement is used outside of a For...Next statement.  Make sure a valid For statement precedes the Exit For.