Sorry it took so long to get back to you. You're code worked fine. I modified
it a bit to do my specific task but it does just what I was looking for.

Thanks.
bc