whoa. That's incredible, Ken. A bit more versatile than my puny "routine"! sqb > >Here you go! The function below has more comments than any other function >I've written <grin>. > >Have fun! > >Ken Ray -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - -