This line is probably causing you trouble. When looping through a range it is usually best to go from the bottom up if you are going to be adding or deleting rows; otherwise those added or deleted rows will be adversely integrated into the loop.
The insert in conjuction with the merging of the range is probably hangining you up; VBA and merged cells do not work well together. At this point I don't know what to say other than you would probalby need to submit your workbook and have you problem evaluated rather than your solution. At this point I have no interest in doing that for you but others on the forum might.
Bookmarks