Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Excel Sheet To Landscape
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01333168
Message ID:
01333172
Vues:
9
>Anyone know of an example of how to change an excel file from portrait to landscape using automation in VFP?
#define xlLandscape 2

oExcel = CREATEOBJECT([Excel.Application])
oExcel.WorkSheets.Open(.....)
oExcel.ActiveSheet.PageSetup.Orientation = xlLandscape
NOT TESTED
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform