Is target sheet empty at the start. If so, you need to modify the nextrow routine to cater for this.

Can you post the workbooks for us?