chocobogo,
My macro will work for any size range. You do not need to know the dimensions before running. I am having trouble downloading your file. It comes in as a zip file and opens in a weird xml format. I used the sheet names and ranges you placed in your first workbook. If you press F8 it will walk you through the next line in the macro. If you press it again it will allow you to go to the next line. This should be helpful in you identifying where the code is breaking. If the sheet names are a problem, or you want to change the names later, change the names in quotes to numbers such as 1, 2, etc.... When you are in the macro go to the Debug menu and look at the options. F5 will run the whole program. F8 allows you to walk step-in.
If you want to have 100, 1000, 10000, types this macro will work. The Do While Loop does not appear to be the best structure for this problem. I left my for loop in the comments. As you can see it runs 1520 times. I used this type of loop to figure out where to move the END row. The code crashes if its not in the correct row because it runs infinitely/to excels limits and crashes the application.