Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to code Save As to Excel file in VFP
Message
 
 
À
08/12/2011 05:10:53
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
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:
01530608
Vues:
66
# DEFINE xlWorkbookNormal   -4143
...
oWorkbook.SaveAs(lcFileName, xlWorkbookNormal )
>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')
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform