Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Pagesetup works - sometimes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00486890
Message ID:
00486902
Vues:
15
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform