Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to code Save As to Excel file in VFP
Message
De
08/12/2011 05:10:53
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to code Save As to Excel file in VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01530603
Message ID:
01530603
Vues:
171
Hi,
I want to save a file as Xls format using the parameter xlWork bookNormal

How to use it in oWorkbook.SaveAs() ?
# DEFINE xlWorkbookNormal   -  4143

oExcel = CREATEOBJECT([Excel.Application])
oWorkbook = oExcel.Workbooks.open(cxlsfile)
oExcel.Visible = .t.
oWorkbook.SaveAs('c:\FirstTest.XLS')
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform