On the other hand, I try to reduce the number of createobjects to test whether something is installed
They take time, especially if you have them in a menu skip for clause
So, the first time I need info (reg class, regex, ...) I instantiate the class and cache the result. The next time, I take it from the cache
So, one createobject('Excel.application') does not matter too much
_________
>Della should take the credit. If I'm not mistaken she posted it while ago and I just picked up. I have a whole library of goodies from my old work. <g>
>
>>That's even better. I just look if there's an application associated with .xls
>>__
Gregory