I think your best bet is to step through the code using f8 and see whathappens. set a watch on i so you know where the sub thinks it is.It is a good idea to comment out the Application.DisplayAlerts lines whileyou are debugging the code.