Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save Excel worksheet as text from VFP
Message
De
09/05/2001 08:03:44
 
 
À
08/05/2001 17:02:14
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00505014
Message ID:
00505189
Vues:
22
>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.
>

You're on the right track. You do use SaveAs and pass the file format as the 2nd parameter. You probably want a CSV file - the constant for that is 6.

oWorksheet.SaveAs("myfile.txt",6)

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform