shg,

I do respect the time of people that assist - my needs change as I program. Originally I was not going to put it in a function but it added a lot more code (that I would not like to do). So instead I decided to use a separate function.

Thank you for your help