#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
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.) |
#4
|
|||
|
|||
Stefan,
Worked like a charm. I think I had tried just about everything else! Thanks for the information, I really appreciate it. Quote:
|
#5
|
|||
|
|||
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:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
header problems | raye321 | Word | 1 | 12-07-2013 10:01 PM |
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 |