Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine which version of Microsof Office is run
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00094608
Message ID:
00094642
Vues:
24
oe=createobject("Excel.Application")
? oe.version

>Zoran,
>
>With Word Basic you can use oWord.AppInfo(2). It will return a numeric version. Word '95 is version 7, Word '97 is version 8. I'm not sure if it will work with Excel, but you could try it.
>
>>Does anybody know how to determine which version of Microsoft office is currently on the machine,
>>
>>I have the following command
>>
>>OWord=CREATEOBJECT('Word.Basic') or oEx=GETOBJECT('Excel.chart')
>>
>>And after this commands I must know which version is running, because the methods and properties for the ver.95 and ver.97 are not the same.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform