>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.