Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel: Simply open un CSV file
Message
 
 
À
03/08/2005 14:47:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01038242
Message ID:
01038267
Vues:
23
>Thanks, but the delimiter the fields in my file is ";" and not ",", and with automation Excel can't open fine, without automation yes. Then i need know how pass the parameters.

It's not CSV (Comma Separated Values ) file than. Change file extension to .TXT and try
lcFileName = FULLPATH('myfile.txt')
oExcel.Workbooks.OpenText(lcFileName, xlWindows, 1, xlDelimited, xlDoubleQuote, .F., .F., .T.)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform