Just FYI - we've collectively created quite a few UDFs to manipulate Excel. I've collected all of the individual functions into a single library that we've updated with consistent naming, variable use, and return methods.

You might want to take a look at the XLLib UDF library in my Kix library to see if any of that standardization would be helpful to you.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D