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

Click here to load this message in the networking platform