Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-04-2017, 01:18 PM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default Page-numbering question: continue numbering from one section to the next? {PAGE} of {SECTIONPAGES}

Hi all. Here is my situation: I have a Word 2013 doc and it has a section break after the first five page's "i" thru "v" pages. On the sixth page I restart the numbering, using the "Page 1 of X" format. It works great like this so long as I used the field codes of:

{ PAGE } of { SECTIONPAGES}



In other words, in my 20-page (actual) document, that sixth page correctly shows "Page 1 of 15" and the last page shows as "Page 15 of 15". This is all great.

But now I have a problem because I needed to format part of one page in there to be two columns, which from what I know can only be achieved by bracketing that text with "continuous" section breaks. So now the numbering is screwed up:
  • On pages lower than the 2-column section, the "of 15" changes to show the number of pages only up to the next section break. (I know why this is happening of course. It's displaying the # of pages in that section.)
  • On ever page beyond the 2-column section, both the page numbering itself resets to 1 and the "total" count resets to however many pages remain in the doc.

Is there a way (a field?) for the numbering to continue as before and count up to the end correctly, across these newly inserted section breaks? FYI, I tried Format page numbering > Continue from previous list for the subsequent sections but it has no effect.

Last edited by Charles Kenyon; 10-25-2017 at 04:39 AM. Reason: Modify title to clarify problem
Reply With Quote
  #2  
Old 10-04-2017, 01:28 PM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

To continue...

It had occurred to me that one solution might be to simply place the 2-column text in a 2-column table and make it's boundaries invisible. I've actually done this before. Works fine when I've wanted to shorten the page take-up of a long bulleted list. I'm not sure how well it'll work across multiple pages. Maybe if I allow the rows to split across pages.... Hmm.

But anyway, I'd still appreciate an answer to the question in my first post. If anyone knows a solution.
Reply With Quote
  #3  
Old 10-04-2017, 01:35 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,647
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

In all sections contributing to this 'page x of y' numbering, insert a field into the header coded along the lines of:
{SET Sctn# {SECTIONPAGES}}
where # is a consecutive number, 1, 2, 3, etc., for as many Sections as contribute to the 'y' part of the numbering and unlinking each of these Sections' headers from its predecessor. Then, where the 'y' part of the numbering is to appear in each Section, insert a field coded as:
{=Sctn1+Sctn2+Sctn3}
continuing with however many Sctn# additions are required.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #4  
Old 10-04-2017, 04:25 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,647
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Actually, the approach I suggested above won't work with continuous Section breaks, since you'll get a duplicate count for the first & last pages for the two-column layout and, if the two-column section doesn't span a page break, a duplicate page count for the last Section as well.

Instead, you need to use a field like:
{SET Sctn1 {SECTIONPAGES}}
in your document's first Section (i.e. the Section with the roman numerals for page #s). Then in your second & subsequent sections, use a field coded as:
{PAGE} of {={NUMPAGES}-Sctn1}
There is no need to unlink those subsequent Sections' footers from each other.

See attached.
Attached Files
File Type: docx Section Page Numbering.docx (27.5 KB, 3 views)
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #5  
Old 10-05-2017, 09:12 AM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

Thank you Paul for the demo doc! That's very helpful. Much appreciated. I'm hanging onto this for future reference.

I found out yesterday afternoon that there is less of a need for the "...of Y" page numbering in this particular doc. It's a template actually, that I am developing for a company. So I found out this template is for doc types that don't typically run over 15-20 pages in total length. So simple page numbering with no start-overs is fine.

I also asked specifically how they plan to use this two columns in a doc. Reason is just to be able to have bulleted lists in two columns if need be. It's nothing that would spill onto a second page. So in the template I'm suggesting an alternate method of doing this as well: the two-column 'invisible' table to contain the text.

Now I am having another problem with the simpler "Page X" numbering. The numbering wants to start over after the continuous breaks. I've even deleted the numbering and re-inserted numbering a couple of times, but the page after the one containing the two breaks is always "Page 2". It ignores the fact that "Continue from previous list" is set. What a PITA.

I'm kinda new to Word 2013 actually. Only had it about a two years and docs I have been writing were pretty simple up until now. But years ago I put together a 100+ page doc for my team using Word 2003 and it had numerous section breaks throughout, because some pages had to be flipped to landscape for diagrams. I don't recall having this kind of headache with numbering on that doc.
Reply With Quote
  #6  
Old 10-05-2017, 12:54 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,647
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Quote:
Originally Posted by SDwriter View Post
Now I am having another problem with the simpler "Page X" numbering. The numbering wants to start over after the continuous breaks. I've even deleted the numbering and re-inserted numbering a couple of times, but the page after the one containing the two breaks is always "Page 2". It ignores the fact that "Continue from previous list" is set.
Can you attach a document demonstrating that?
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #7  
Old 10-05-2017, 01:49 PM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

Okay. I just made a smaller version of the doc. See attached.
Attached Files
File Type: docx TEST_doc.docx (43.7 KB, 2 views)
Reply With Quote
  #8  
Old 10-05-2017, 02:00 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,647
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

The footer numbering for Section 3 - which starts & ends on the same page - has its numbering set to start at 1 instead of continuing from the previous Section.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #9  
Old 10-05-2017, 02:08 PM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

Might be where I'm confused. The one that says "Page 4", at the bottom of where the two breaks are is labeled "Footer for Section 2". The next page then jumps to "Footer for Section 3" is kind of in limbo I guess.

This is what has had me fooled. I though Page 4 showed the same footer as on "Page 1". But if I reset it to 'Continue from..." everything works as desired.
Reply With Quote
  #10  
Old 10-05-2017, 02:09 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,647
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Yes, you'd need to insert a temporary page break into Section 3 so you can access its footer.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #11  
Old 10-05-2017, 02:21 PM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

Nice! That works great. I have not used a page-break character in years. Just got out of the habit. Interesting to see it has a use for me once again.

Thanks again!
Reply With Quote
  #12  
Old 10-24-2017, 03:12 PM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Actually, the approach I suggested above won't work with continuous Section breaks, since you'll get a duplicate count for the first & last pages for the two-column layout and, if the two-column section doesn't span a page break, a duplicate page count for the last Section as well.

Instead, you need to use a field like:
{SET Sctn1 {SECTIONPAGES}}
in your document's first Section (i.e. the Section with the roman numerals for page #s). Then in your second & subsequent sections, use a field coded as:
{PAGE} of {={NUMPAGES}-Sctn1}
There is no need to unlink those subsequent Sections' footers from each other.

See attached.
Hi. Bringing this thread back from the dead. I had to stop work on this field code stuff for a few weeks, before I was able to try it. Now it's become a priority.

I was able to add this bookmark FC in the first section. Works great. I have a bookmark containing the sum of those i through v pages:
{SET Sctn1 {SECTIONPAGES}}

But in the subsequent sections I confess that I don't know how to change the field codes successfully. Just don't know the exact steps.

My fumbling in "Formula" got me as far as this:


Using this dialog box:


But it just produces this syntax error:


OTOH, This is from macropod's sample doc above and works great:


Can someone walk me through the process of creating the custom field(s) correctly?

.
Attached Images
File Type: png numpages-formatting_works.PNG (3.2 KB, 8 views)
File Type: png numpages-formatting_doesn'twork2.PNG (3.5 KB, 8 views)
File Type: png formula_create.PNG (5.8 KB, 8 views)
File Type: png Syntax_error.PNG (2.5 KB, 8 views)
Reply With Quote
  #13  
Old 10-24-2017, 04:59 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,647
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

You can't create the fields via the dialogue box - you need to create them in the document itself, using Ctrl-F9 to create the field braces.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #14  
Old 10-25-2017, 06:56 AM
SDwriter SDwriter is offline Windows 10 Office 2013
Novice
 
Join Date: Sep 2017
Posts: 29
SDwriter is on a distinguished road
Default

Excellent. One again, thank you Paul. I have it working correctly now.

It's funny. At first I was getting an "off by one" error. The last page said "15 of 16". It's because of the cover page, which wasn't being counted among the 'Roman' pages due to a section break on that first page. So I tried putting in a 'minus 1' at the end of the field, like so:

{PAGE} of {={NUMPAGES}-Sctn1-1}

Works fine.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page numbering across three sections - skipping one section Falling Sands Word 4 02-22-2017 11:29 PM
Turning off page numbering in a new Section norwood Word VBA 2 08-05-2014 01:52 PM
begin each section with page 1 in header PLUS continuous page numbering in footer onemorecupofcoffee Word 18 09-04-2013 04:31 PM
Page numbering starting on 2 after section break pamm13 Word 1 06-22-2011 11:10 AM
Section breaks, footers and page numbering yeswab Word 0 03-19-2009 06:37 AM


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


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft