Suggest you post your code, ideally, in the form of a sample workbook.

Regards, TMS