Hi prat33,

Thank you for your response, however your sample workbook contains no Code at all, and the Before and After Sheets shows nothing at all.

Make sure there is just enough data to demonstrate your need.

Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

Make sure your desired results are shown, mock them up manually if necessary.

Thank you.