Just to make clear I'm not upset or trying to attack... all the respect to you Glenn, we have been friends for a long time.

One thing I will say about the UDFs is, if you don't take ownership of it, this is the kind of thing that happens. I was EXPECTING the UDF to do exactly what your code did, and had to stop and look at how it was changed to see the difference.
_________________________
(... better days ahead)