Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Excel Sheet To Landscape
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01333168
Message ID:
01333172
Views:
8
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform