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:
01350024
Vues:
40
Christof
That code does work but it create a Excel95 worksheet that has 16000 row limitation. We have to have at least the 64000 row capibility and preferability larger.

>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"
>
Extreme Programming = Plan -> Design -> Code -> Test
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform