Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation - Page Headers
Message
De
13/11/2002 09:27:16
 
 
À
12/11/2002 16:45:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00721633
Message ID:
00722087
Vues:
22
>Your suggestion was right on. However, (isn't there always a however) I now find that using the following code causes the header on the first page to revert back to the header for the entire section. Actually, the line referring to ShowFirstPageNumber=.t. is the culprit. Everything is fine if I comment that line out. Any words of wisdom on this ?
>
>
>oWord.ActiveDocument.Sections[1].Footers[1].PageNumbers.Add()
>oWord.ActiveDocument.Sections[1].Footers[1].PageNumbers.ShowFirstPageNumber=.t.
>oWord.ActiveDocument.Sections[1].Footers[1].PageNumbers[1].Alignment=wdAlignPageNumberCenter

Sorry, not something I've looked at. Did you check the Knowledge Base?

If all else fails, you can just insert the page number manually rather than using a PageNumbers object.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform