In article <008501c17677$7f8ac070$eaa0a118@credenza>, "Bill Kelly"
<billk / cts.com> wrote:

> Here's one approach  . . .

That code is very succinct!   It seems to do what I want, too.

I'll have a play with the three solutions you, David and Kent have given
me to see which one suits me best.

Thanks.