Thanks Glenn, i will have to do some studying on this. i like the way this works and its now working well on my main worksheet.

i will mark this as solver and add reputation cheers