Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE - Table to Excel file?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00135005
Message ID:
00135695
Vues:
10
>Barbara,
>
>You sent me something by email that I've been searching for. Setting column sizes in code before the export. Hopefully one day I'll be able to keep this stuff in my head.
>
>Perry

Perry, I didn't find it in my files, but I think you have it backwards. You do the formatting AFTER exporting to an XLS file. Open Excel with OLE Automation, open the file you exported, then do all the formatting. If you want to let your viewer see/change the file, add an oExcel.visible = .t. at the end of the formatting (where oExcel is the Excel Object). Otherwise, just add save/quit commands and your file is ready to e-mail, store, etc.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform