Page Number Problems

D

denzal2000

Hi, I am updating a Word 2003 document to Word 2007. I've converted the
document using the save and convert function. Having deleted some pages, I'm
having problems with the page numbers - they jump from page 51 to page 57 (it
should say 52 not 57!) in the footer. I have tried deleting all the page
numbers from the footer and re-inserting them, inserting new pages inbetween
page 51 and page 57, right clicking and choosing update field. I cannot get
this 57 to change to 52. All pages after supposed page 57 (actually page 52)
follow on from 57. In other words in the footer pages 52 to 56 just don't
exist!

If anyone has any idea of what is going on it would be much appreciated!
Benjamin
 
D

Doug Robbins - Word MVP

Is there a section break before the page that is numbered 57. If so, it
could be that the page numbers in that section are formatted to begin at 57
instead of continue from the previous section.

Running a macro containing the following code will re-format all of the page
numbers to continue from the previous section

Dim i As Long, j As Long
With ActiveDocument
For i = 1 To .Sections.Count
With .Sections(i)
For j = 1 To .Headers.Count
.Headers(j).PageNumbers.RestartNumberingAtSection = False
Next j
For j = 1 To .Footers.Count
.Footers(j).PageNumbers.RestartNumberingAtSection = False
Next j
End With
Next i
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top