Darrel Thanks foer the help, I did a search and read through the post, Now I think I have a clue on how to write the code.

Thanks again