Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Excel Spreadsheet
Message
De
03/04/2003 10:26:55
 
 
À
03/04/2003 07:41:33
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00773477
Message ID:
00773550
Vues:
6
>Hi All:
>
>Just looking for a code snippet to open an Excel Spreadsheet from within Fox. After it's open the User can have control, all I want to do is Browse for it and open it for them.
>
>Much Thanks !

You can use this:
xl=CreateObject("Excel.Application")
xl.Workbooks.Open("C:\temp\myfile.xls")
xl.Visible= .T.
Release xl
HTH,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform