>Thanks Sergey! I tried this in one attempt, but I wasn't using the brackets. Could you please explain why the brackets make it work?
>
>Again thanks. This is the solution.
The TYPE() function evaluates it's parameter before checking it's type. That's why extra quotes/brackets are required.
--sb--