Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Start Excel & open a spreadsheet?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01110438
Message ID:
01110473
Vues:
15
>>>I have a file "C:\temp\mysheet.xls" and I want to open excel, make it visible, and open this spreadsheet via VFP. This is what I got so far, but I dont see how to open the file. Anyone know how to do it?
>>>Thanks!
>>>
>>>oExcel = CREATEOBJECT("excel.application")
>>>oExcel.Visible = .T.
>>
>>
oWorkbook = oExcel.Workbooks.Open(lcXlsFile)
>
>Yeah that's it, but I'm disapponted Sergey - it took you almost a FULL 2 MINUTES to answer my question this time! You must be getting slower in your old age...hahahaha.
>
>Thanks!

You're welcome. :)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform