I need to add the total number of pages after the current page number in Publisher 2007. For example, I need to have "Page 1 of 7" or something similar to that. I know how to have Publisher add the current page number, but how do you add the total number of
As far as I know, there is no such built-in feature in Publisher to add Page X of Y.
Alternately, here is a macro sample to add the page number which is shared by another community member:
Dim strPageNumber As String
Dim x As Integer
For x = 1 To Pages.Count
strPageNumber = .PageNumber
Left:=710, Top:=580, Width:=80, Height:=20) _
.TextFrame.TextRange.InsertAfter NewText:="Page " _
& strPageNumber & " of " & .Parent.Count & "."
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.