That seems to be a completely different requirement, unrelated to what you are doing above. Best to start a new thread with the code/sample workbook