Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2016, 06:38 AM
icehockey44 icehockey44 is offline Footer page numbers gone wrong Windows XP Footer page numbers gone wrong Office 2003
Novice
Footer page numbers gone wrong
 
Join Date: Mar 2016
Posts: 3
icehockey44 is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 04-06-2016, 07:19 AM
Charles Kenyon Charles Kenyon is offline Footer page numbers gone wrong Windows 8 Footer page numbers gone wrong Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Page Numbers in Word 2007-2013
Reply With Quote
  #3  
Old 04-06-2016, 09:18 AM
Charles Kenyon Charles Kenyon is offline Footer page numbers gone wrong Windows 8 Footer page numbers gone wrong Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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
See Installing Macros if you need help on what to do with this.


What is it you are trying to do?
Reply With Quote
  #4  
Old 04-06-2016, 09:48 AM
Charles Kenyon Charles Kenyon is offline Footer page numbers gone wrong Windows 8 Footer page numbers gone wrong Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Footer page numbers gone wrong 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
Footer page numbers gone wrong How can i add page numbers in footer? suman Word 2 03-21-2012 02:13 AM
Footer page numbers gone wrong wrong page numbers in index ellie2063 Word 1 06-29-2011 05:54 PM
Footer page numbers gone wrong is it possible to create hyperlink from page numbers in footer? khsharpe Word 2 04-21-2011 02:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft