Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call an excel worksheet from vfp8
Message
De
01/08/2005 15:05:21
 
 
À
01/08/2005 14:21:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01037565
Message ID:
01037580
Vues:
14
>Hi, as the subject says:
>
>thats all i need to know.
>
>i have a vfp aplication and i need to call an excel worksheet.



You are not clear on what you need. If you want to load Excel as if from Windows Explorer, the Yuri gave you the syntax for API ShellExecute().

If you mean getting a reference to Excel as an object in your App (COM Automation), then use:
oExcel = CreateObject("Excel.Application")
Now you have a full access to Excel's DOM.

See:
http://fox.wikis.com/wc.dll?Wiki~MSExcel


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
Répondre
Fil
Voir

Click here to load this message in the networking platform