Radimus:

This looks good - will test it today.

If you are OK supporting these changes in your WMIQuery UDF, I'd just as soon see you update yours with this enhancement and I'll delete this post entirely. I do have just one question, though...

What's with the weird error return values in hex?
(a comment there might be nice!)

Jens:

You might explain why you Trim() the optional args, and maybe Radimus will add them to the top of the UDF if he thinks it's reasonable.

Thanks!

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