Thanks again for your reponse. I guess it works if you only insert new rows in the end of the sheet, but often I'll have to insert new rows in between, like in my example, and then the code wont follow. But thanks anyways!