Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Better way to code Excel automation?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01313820
Message ID:
01349968
Vues:
27
Hi Chuck,

I see. Sorry, I misunderstood and thought you're trying the opposite. The way I would approach this is to save the file in XLS format:
ox = CreateObject("Excel.application")
ox.Workbooks.Open(FullPath("myfile.xlsx"))
ox.ActiveWorkbook.SaveAs("myfile.xls",39)
ox.ActiveWorkbook.Close()
Import From myfile.xls type xl8 sheet "sheet2"
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform