Thanks for the suggestions guys.

dave - I'll take a look at the link.

Roy - yes, newSheet is the textbox receiving the result. How would one trigger the code?

SamuelT