Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation - Page Headers
Message
From
13/11/2002 09:27:16
 
 
To
12/11/2002 16:45:02
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00721633
Message ID:
00722087
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform