Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2017, 11:56 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default Different Word page numbering in header and footer


Hi, I got a not too complicated situation to solve:
I have a document that is divided into sections.
In the header the page number should run (i.e. restart) from 1 in each section
At the same time in the footer the page number should be a "global" page number, i.e. the actual page number of the document.
Let me explain by an example if not clear:
It should e.g. look so:
TOP 1,2,3,1,2,3,4,1
BOTTOM 1,2,3,4,5,6,7,8
I don't want numbers to be entered one by one either in the header or the footer and I guess there should be an automatic solution.
Thank you for any advice.
I found this thread covering a similar problem but I don't know how to use SET fields as suggested there
https://www.msofficeforums.com/word/...-document.html
Reply With Quote
  #2  
Old 11-21-2017, 03:01 PM
Charles Kenyon Charles Kenyon is offline Different Word page numbering in header and footer Windows 10 Different Word page numbering in header and footer Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
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

See Page Numbering and Page Numbering Different in Headers and Footers.
The first link is a step-by-step demonstration of how this can be done. The second gives a download of such a document with another document of instructions.

Last edited by Charles Kenyon; 11-22-2017 at 07:11 AM. Reason: expand on contents of links
Reply With Quote
  #3  
Old 11-21-2017, 04:13 PM
macropod's Avatar
macropod macropod is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by hhgygy View Post
Hi, I got a not too complicated situation to solve:
I have a document that is divided into sections.
In the header the page number should run (i.e. restart) from 1 in each section
At the same time in the footer the page number should be a "global" page number,
Easy to describe but quite complicated to implement. The required approach is described in both the note to the post you linked to and in post #9 of the same thread: https://www.msofficeforums.com/word/...html#post75013
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 11-22-2017, 01:14 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Easy to describe but quite complicated to implement. The required approach is described in both the note to the post you linked to and in post #9 of the same thread: https://www.msofficeforums.com/word/...html#post75013
Thank you, but could you please explain to me step by step where I am supposed to insert those fields because I tried and tried but I don't understand the basic concept.
As I understand some of these fields go in the body of the word document and some in the place where I want the right page number to be displayed. But how?
Reply With Quote
  #5  
Old 11-22-2017, 01:22 AM
macropod's Avatar
macropod macropod is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The fields are all inserted into the page header or footer, as appropriate.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 11-22-2017, 01:33 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
The fields are all inserted into the page header or footer, as appropriate.
Sorry, maybe I'm too dumb, would you be so kind as to write here step by step in my example case how to do the first "odd" page number?
Could you write me how I add page no. 4 in my example case, where I have Section 1 with pages 1,2,3 and then comes Section 2 with page 1 in the header which should be page 4 in the footer?
Reply With Quote
  #7  
Old 11-22-2017, 02:16 AM
macropod's Avatar
macropod macropod is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You really shouldn't need any more 'instruction' than appears in the link you've already been given - it's not exactly rocket science.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 11-22-2017, 03:00 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You really shouldn't need any more 'instruction' than appears in the link you've already been given - it's not exactly rocket science.
If I simply copy these in my document I get a syntactic error.
Also, in the first section you inserted Section { SECTION}
I guess it must be there for this scheme to work.
What if I don't want that to appear in my document?
Reply With Quote
  #9  
Old 11-22-2017, 03:34 AM
macropod's Avatar
macropod macropod is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Make sure you copy all of the fields from the footers. Either copying the entire paragraph in each footer (they have different field coding for each Section) or telling Word to display the field codes (which you could do via Alt-F9) will make that easier.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #10  
Old 11-22-2017, 03:50 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Make sure you copy all of the fields from the footers. Either copying the entire paragraph in each footer (they have different field coding for each Section) or telling Word to display the field codes (which you could do via Alt-F9) will make that easier.
Thank you for trying to help me.
In Section 1 of my document I have only 1 page.
In the first page of Section 2 of my document I insert in the footer your code:
{={PAGE}+{Section 1}}
It should be 2 in my case, instead it gives a syntactical error

I'm still asking whether the code { SECTION} in the body of your document is mandatory.
Reply With Quote
  #11  
Old 11-22-2017, 03:51 AM
macropod's Avatar
macropod macropod is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

How about looking in the footer of Section 1 as well...

The {SECTION} field in the document body is of no consequence; it's only there to remind you which Section you're looking at.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 11-22-2017, 04:00 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
How about looking in the footer of Section 1 as well...

The {SECTION} field in the document body is of no consequence; it's only there to remind you which Section you're looking at.
OK, but if I insert that code it returns the total number of pages of the document which I don't need there (I mean I don't use page x of Y) I need only x
Can I define this Section 1 otherwise?
Reply With Quote
  #13  
Old 11-22-2017, 04:04 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
How about looking in the footer of Section 1 as well...

The {SECTION} field in the document body is of no consequence; it's only there to remind you which Section you're looking at.
This is perplexing
Here is what I get with your codes simply copied:
On the first page footer: page 1 of 11
on the second page (Section 2 page 1) footer Page 7 of 11 - should be 2
on the third page (Section 2 page 2) footer Page 8 of 11 - should be 3
Reply With Quote
  #14  
Old 11-22-2017, 04:34 AM
hhgygy hhgygy is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2007
Novice
Different Word page numbering in header and footer
 
Join Date: Nov 2017
Posts: 11
hhgygy is on a distinguished road
Default

OK, now it seems to work (more or less, because on the first page I still don't need the number of total pages in the footer)
Another problem:
Your code for Section 2 looks like this:
{={PAGE}+{Section 1}+{Section 2}}
I'm trying to add Section 3 to continue numbering but it returns a syntactical error for this code:
{={PAGE}+{Section 1}+{Section 2}+{Section 3}}
What do I do wrong?
Reply With Quote
  #15  
Old 11-22-2017, 05:04 AM
macropod's Avatar
macropod macropod is offline Different Word page numbering in header and footer Windows 7 64bit Different Word page numbering in header and footer Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by hhgygy View Post
Another problem:
Your code for Section 2 looks like this:
{={PAGE}+{Section 1}+{Section 2}}
No, that's the field code for Section 3...
You really do need to pay close attention to both the instructions in the link (https://www.msofficeforums.com/word/...html#post75013) and the structure of the document I posted in this thread.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different Word page numbering in header and footer Advanced page numbering: section pages in header, document pages in footer Albus Word 12 12-12-2014 01:36 PM
Different Word page numbering in header and footer Header, Footer and Page # Galleries Disappear - Word 2010 jmk59 Word 6 10-18-2014 04:46 AM
Different Word page numbering in header and footer Header and footer first page only dianabanana Word 1 03-19-2014 08:45 AM
Different Word page numbering in header and footer begin each section with page 1 in header PLUS continuous page numbering in footer onemorecupofcoffee Word 18 09-04-2013 04:31 PM
How to save the current page in a new file with all the page settings (header, footer Jamal NUMAN Word 6 03-15-2012 03:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:28 PM.


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