Sorry about the cross post.

micope21 thanks. Works perfectly. That was just what I had spent hours trying to figure out, but were unable to get it to work just right.