>Borislav--
>
>>Use version:
>>
>>oExcel = CREATEOBJECT([Excel.Application.8])
>>
>
>
>Thanks.
>
>Excel 2000 is 9. CreateObject accepts this syntax. GetObject appears not to. Any thoughts.
>
>Tim
That's because GETOBJECT uses whatever is currently running. Version makes no difference. You could check the version via automation once you've gotten the object reference.
oX = GETOBJECT(,"Excel.Application")
?oX.Version