No, it should say 'Exit For', as posted.
When you get the error message, does the popup display a 'debug' button? if so, what code line is highlighted? Also, if you hover the mouse over the 'i' in '.ActiveRecord = i', note the number then check the corresponding row in the data source (which should be one more than the 'i' value). Check whether that row has data and whether there is anything materially different about the data on that row from the other rows.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|