Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is Excel?
Message
De
19/03/2003 13:55:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00767689
Message ID:
00767730
Vues:
20
>I think you can force it to look for Excel 2002 by using
>
>o=createobject("excel.application.10")
>
>".10" is the version number. Excel 2000 might have another version number, perhaps ".9"


Correct. "excel.application.9" for Excel 2000 and "excel.application.11" for the new Excel 2003 Beta.

o=createobject("excel.application") would return the latest version you have installed.

As Hillmar pointed out
o=createobject("excel.application")
? o.Name, o.Version, o.Build
would tell you what you have.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform