Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SaveAs using VFP to control Excel
Message
De
02/12/1999 11:21:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00297928
Message ID:
00297933
Vues:
30
>Once again I find myself in the need of great minds!
>
>I've got a routine that opens an Excel spreadsheet (using CreateObject), makes several changes, then saves the spreadsheet under a new name using objBook.SaveAs(blahblahblah) where blahblahblah represents the new filename.
>
>All is good and well..... However, I now need to save the open spreadsheet off with the new name as a CSV file instead of a standard Excel spreadsheet.
>
>Any ideas? I'm not having any problems opening, changing, etc.. just can't seem to get the syntax to actually save the thing off as something other than an excel spreadsheet.
>
>As always, everyone's input is always welcome and appreciated! :-)


#define xlCSV  6
objBook.SaveAs(cFilename, xlCSV) && Assuming objBook is a workbook
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform