Hi timermel, welcome to the forum.

Please take a few moments to read the forum rules and use CODE tags around your code.

It would also help to post a sample workbook so the code can be checked and tested in the context of typical data and workbook structure.

Regards