Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2014, 01:49 PM
tdg23113 tdg23113 is offline Problems with header and page numbering Windows 7 64bit Problems with header and page numbering Office 2010 64bit
Novice
Problems with header and page numbering
 
Join Date: Apr 2014
Posts: 3
tdg23113 is on a distinguished road
Default Problems with header and page numbering


I have a MS Word 2010 document that I got from another person. The headers and page numbers are all screwed up (I think he put it together from several separate documents) I thought I could correct it but its about to make me pull my hair out. I am familiar with how to add the "link to previous" and thought it was just a matter of going through and finding were I lose the header and adding "link to previous" thought I was doing fine as I keep getting further and further along with the header. No all of a sudden the header appears properly except the dang page number reverts back to page 1 of 118 pages! For the life of me I can not figure out how to have it continue on as it should. I want all pages to carry the same header and the page numbers to run 1 thru 118, which should be simple, but its not for me!

Is there a way to completely remove all header/footer/sections etc and start from scratch rather than finding all the new sections and correcting them?
Dennis in VA
Reply With Quote
  #2  
Old 05-01-2014, 03:04 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Problems with header and page numbering Windows 7 64bit Problems with header and page numbering Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,906
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

In the section where the page number restarts, do the following: Click Insert tab | Page Number | Format Page Numbers. In the Page Number Format dialog box, select "Continue from previous section," and click OK.

If you see many undesired restarts, you could run the following macro instead:

Code:
Sub SpecifyContinuousPageNum()
Dim s As Section
For Each s In ActiveDocument.Sections
s.Footers(wdHeaderFooterPrimary) _
.PageNumbers.RestartNumberingAtSection = False
Next s
End Sub
For assistance, see http://www.gmayor.com/installing_macro.htm.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #3  
Old 05-01-2014, 06:16 AM
Charles Kenyon Charles Kenyon is offline Problems with header and page numbering Windows 7 64bit Problems with header and page numbering Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,136
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

Stefan has answered your problem with page numbering, I believe.

In answer to your question, yes it is possible to delete all section information (except one) however sections carry a lot of formatting information in addition to page numbering and headers/footers. Chances are good you do not want to remove that formatting.

If you do want to remove all section breaks, you would replace ^b with nothing. I would advise doing this on a copy of your document in case you discover you do not like the result. (Ctrl+Z works, too, but I would want a backup.)
Reply With Quote
  #4  
Old 05-01-2014, 01:28 PM
tdg23113 tdg23113 is offline Problems with header and page numbering Windows 7 64bit Problems with header and page numbering Office 2010 64bit
Novice
Problems with header and page numbering
 
Join Date: Apr 2014
Posts: 3
tdg23113 is on a distinguished road
Default

Stefan,
Worked like a charm. I think I had tried just about everything else! Thanks for the information, I really appreciate it.


Quote:
Originally Posted by Stefan Blom View Post
In the section where the page number restarts, do the following: Click Insert tab | Page Number | Format Page Numbers. In the Page Number Format dialog box, select "Continue from previous section," and click OK.

If you see many undesired restarts, you could run the following macro instead:

Code:
Sub SpecifyContinuousPageNum()
Dim s As Section
For Each s In ActiveDocument.Sections
s.Footers(wdHeaderFooterPrimary) _
.PageNumbers.RestartNumberingAtSection = False
Next s
End Sub
For assistance, see http://www.gmayor.com/installing_macro.htm.
Reply With Quote
  #5  
Old 05-01-2014, 01:31 PM
tdg23113 tdg23113 is offline Problems with header and page numbering Windows 7 64bit Problems with header and page numbering Office 2010 64bit
Novice
Problems with header and page numbering
 
Join Date: Apr 2014
Posts: 3
tdg23113 is on a distinguished road
Default

Charles,
You are right, best not remove all the section breaks. With Stefan's help it was just a matter of going through all the pages and setting the numbering to continue from the previous page. Easy but boy did they have a bunch of them!
Thanks for the info.
Dennis

Quote:
Originally Posted by Charles Kenyon View Post
Stefan has answered your problem with page numbering, I believe.

In answer to your question, yes it is possible to delete all section information (except one) however sections carry a lot of formatting information in addition to page numbering and headers/footers. Chances are good you do not want to remove that formatting.

If you do want to remove all section breaks, you would replace ^b with nothing. I would advise doing this on a copy of your document in case you discover you do not like the result. (Ctrl+Z works, too, but I would want a backup.)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with header and page numbering header problems raye321 Word 1 12-07-2013 10:01 PM
Problems with header and page numbering begin each section with page 1 in header PLUS continuous page numbering in footer onemorecupofcoffee Word 18 09-04-2013 04:31 PM
Numbering problems thecthdox Mail Merge 1 02-13-2013 07:05 PM
header/footer problems only in certain documents Endzone Word 5 08-15-2012 01:04 AM
Page Header and Page Numbering for Technical Book SQLUSA Word 4 06-25-2012 09:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:22 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