Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening an excel worksheet from vfp...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00473619
Message ID:
00473629
Vues:
17
>thanx for your patience!
>syntax for opening an excel worksheet from within vfp?
>tia - john

With OLE:
loExcel = CREATEOBJECT("Excel.Application")
loExcel.APPLICATION.Visible = .T.

*-- Open a file
loExcel.APPLICATION.WorkBooks.OPEN("C:\MyFile.XLS")

*-- Close a file
loExcel.APPLICATION.ActiveWorkbook.CLOSE

*--- Excel Quit
loExcel.APPLICATION.QUIT

RELEASE loExcel
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform