Thank you PeejAvery, your code worked perfectly and thanks for the suggestion.