Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Pagesetup works - sometimes
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00486890
Message ID:
00486902
Views:
14
>Bruce,
>
>Try:
>oSheet.PageSetup.CenterHorizontally = .T.
>oSheet.PageSetup.PrintGridlines = .T.
>It works for me.

Thanks, that does the trick.

However, now the line:

oSheet.PageSetup.FitToPagesWide = 1

is ignored, whether I put it before or after the above two lines. It was working before those two lines were added. I don't suppose you have one more idea? :-)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform