General information
Category:
COM/DCOM and OLE Automation
Bruce,
Try:
oSheet.PageSetup.CenterHorizontally = .T.
oSheet.PageSetup.PrintGridlines = .T.
It works for me.
>Anyone know why the Excel .Pagesetup properties are hit-and-miss from vfp? >These commands don't work for me (OLE Dispatch class error):
>oSheet.PageSetup.CenterHorizontally = 'True'
>oSheet.PageSetup.PrintGridlines = 'True'
>but some of the others work fine. What gives?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only