Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save Excel worksheet as text from VFP
Message
De
08/05/2001 17:02:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Save Excel worksheet as text from VFP
Divers
Thread ID:
00505014
Message ID:
00505014
Vues:
71
I need to create a comma delimited text file from an Excel 97 spreadsheet using OLE Automation in VFP. I can't seem to find an example of how to do this.

I know enough to instantiate Excel and open the workbook and navigate to the worksheet using the Excel object but how do I find the command to Save As comma delimited? Something like oWs.SaveAs("Myfile.txt",42) where 42 is the arbitrary number denoting the file type.

Documentation is sparse. Thanks for your help!

-JT
Jeff Trockman, MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform