Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine which version of Microsof Office is run
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00094608
Message ID:
00094638
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform