#1
|
|||
|
|||
Footer page numbers gone wrong
All,
I have managed to mess up the footer numbers on my document!! Ready being as I've added new pages into the document, I've hit add odd page each time, meaning my page numbers are ok 2's and 3's!! Is there a way I can correct this? As I can't seem to find anything!! Looking forward to your help Donna |
#2
|
|||
|
|||
|
#3
|
|||
|
|||
I have a bit more time now, you do not add pages to a document. You can add page breaks but those are not odd or even. If you are adding something as odd, chances are it is a section break. This is usually not necessary.
The link I gave before is about page numbers. Page numbers are fields, usually placed in a header or footer. The following macro can be run in a document to make all page numbers consecutive, but if you added odd-page or even-page section breaks, there may be skipped pages. When you print, those skipped pages would print blank. Code:
Sub ContinuousPageNumbers() ' Jay Freedman ' http://answers.microsoft.com/en-us/office/forum/office_2007-word/page-numbers-are-all-fouled-up-in-my-large/d188687e-9663-43e0-a450-1dbadc47f09f ' modified to add message boxes by Charles Kenyon ' Dim secNum As Long Dim btnCancel ' give user chance to cancel btnCancel = MsgBox(prompt:="Do you want to reset all of the page numbers in this document to number continuously?", _ Title:="Are you sure?", _ Buttons:=vbYesNo) If btnCancel = vbNo Then MsgBox prompt:="Reset of continuous page numbering cancelled by user!", Buttons:=vbExclamation, Title:="Page Number Reset Cancelled!" Exit Sub End If ' Proceed with reset With ActiveDocument For secNum = 2 To .Sections.Count .Sections(secNum).Headers(wdHeaderFooterPrimary) _ .PageNumbers.RestartNumberingAtSection = False Next End With MsgBox prompt:="The Continuous Page Numbers macro has run.", Title:="Page number reset macro finished!" End Sub What is it you are trying to do? |
#4
|
|||
|
|||
If you want, rather than adding the macro, you can use this.
Continuous Page Numbering Add-In When placed in your Word Startup Folder it adds a button to your header and footer toolbar to make all page numbering continuous. |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page numbers in footer BUT | otuatail | Word | 3 | 12-04-2015 07:30 AM |
Page numbers increase at wrong increment | leah wen | PowerPoint | 3 | 04-16-2014 10:57 AM |
How can i add page numbers in footer? | suman | Word | 2 | 03-21-2012 02:13 AM |
wrong page numbers in index | ellie2063 | Word | 1 | 06-29-2011 05:54 PM |
is it possible to create hyperlink from page numbers in footer? | khsharpe | Word | 2 | 04-21-2011 02:49 AM |