Excellent, that worked beautifully. Thank you Allen. Didn't know about the UDF library, some very handy peice of code in there.

-Sid \:\)