My code works just fine.
You will have to attach a sample of your workbook, to see what the problem is.
Keep it to 50 rows or so