Thank you snb. I will analyze it, however this macro is still a bit complicated for me. Thank you for your help I appreciated it.