Quote Originally Posted by t.pham41 View Post
Hi Richard,

Thank you for your help. I've tried your code, and changed a little but I still couldn't get it working. ......snipped
My code works when I created an example workbook with the data you supplied. If you're saying it's not working then please upload your workbook since presumably the layout is somewhat different.