You're welcome.
>Thanks!
>It sounds perfect to me!
>
>>>Hi.
>>>I need to test if Microsoft Office(Excel) is installed before creating an
>>>Excel object.
>>>I will be greate if I can get the version number too.
>>>Thanks in advance.
>>
>>With VFP9 this is very easy
>>Try
>> lox=Createobject('excel.application')
>> lcVersion=lox.Version
>>Catch
>> Messsagebox('Excel is not installed')
>>Endtry