J
Jens
I want to add the page number an the total numbers of pages in the header.
I use this syntax to add to pagenumber:
..ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).PageNumbers.Add(PageNumberAlignment:=wdAlignPageNumberRight, FirstPage:=False)
but can't figure out how the add total number of pages.
Like page 1 of 12
Thx
Jens
I use this syntax to add to pagenumber:
..ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).PageNumbers.Add(PageNumberAlignment:=wdAlignPageNumberRight, FirstPage:=False)
but can't figure out how the add total number of pages.
Like page 1 of 12
Thx
Jens