S
sals
This code from vb help is suppose to add a page number to the primary
footer in the first section and in any subsequent sections. The page
number doesn't appear on the first page.
With ActiveDocument.Sections(1)
.Footers(wdHeaderFooterPrimary).PageNumbers.Add _
PageNumberAlignment:=wdAlignPageNumberLeft, _
FirstPage:=False
End With
I'm running it and getting the error you can specify only one line,
footnote, endnote, comment, or field at a time.
I am trying to insert the page number in the footer on every page of
the doc.
but it is not even inserting it onto one page.
please help.
footer in the first section and in any subsequent sections. The page
number doesn't appear on the first page.
With ActiveDocument.Sections(1)
.Footers(wdHeaderFooterPrimary).PageNumbers.Add _
PageNumberAlignment:=wdAlignPageNumberLeft, _
FirstPage:=False
End With
I'm running it and getting the error you can specify only one line,
footnote, endnote, comment, or field at a time.
I am trying to insert the page number in the footer on every page of
the doc.
but it is not even inserting it onto one page.
please help.