?
Solved

How to Make Page Count in MS Word Footer Reflect Less Than Total Number of Physical Pages

Posted on 2007-03-20
4
Medium Priority
?
1,388 Views
Last Modified: 2010-08-05
(I am using Microsoft Word 2003 SP2)

I have a document which has a cover page and a bunch of regular pages.  The cover page is the first physical page in the document.  After creating it, I inserted a "next page" section break and began creating my regular pages in the next section.  When I added a footer, I was able to set the automatic page numbering such that the page number began at the start of the section, rather than the start of the physical document.  So, the second physical page in the document, which is the first of the regular pages and hence the first page in the second section of the document, said "Page 1 of 9" in the footer.  My problem is that the automatic total number of pages (9 in this case) is including the cover page.  I would like it to read "Page 1 of 8" because there are only 8 regular pages, and I don't want to count the cover page.  Is there any way to make this happen?

Thanks.
0
Comment
Question by:mjw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 18760341
You will have to do some field arithmetic.
Use Alt + F9 to show the field codes in the document.
This will reveal the number after the of bit to be a field like this:
{ NUMPAGES }. Select the NUMPAGES text without the brackets and press F9. It will no appear in a second set of brackets.

 { { NUMPAGES } }. Modify it to { = { NUMPAGES } - 1 }. (If there is a \* MERGEFORMAT bit, leave it so that it looks like this) { = { NUMPAGES } - 1  \* MERGEFORMAT}
Use the Alt+F9 toggle to show the field results again.
0
 
LVL 21

Expert Comment

by:Eric Fletcher
ID: 18760349
Use a field formula in your footer to display the total; page count less the number of pages in your frontispiece sections:
{ =({numpages} - 2)}

The above would subtract 2 from the total number of pages.

You need to let Word put in the braces. The easiest way is to type Ctrl-F9 to start a field, then =( and another Ctrl-F9, then numpages, right arrow past the closing braces, type -2) and right arrow out of the field. Select it all and press F9 to update it.
0
 
LVL 21

Expert Comment

by:Eric Fletcher
ID: 18760360
LOL! This time I even refreshed the page that had been open for a while before responding, but I took a call and Graham scooped me again! (Just as well I'm not paranoid Graham or I'd think you had a tap on my connection...;-)
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 18760417
You're making me feel quite guilty Eric. I left this one a while because it wasn't VBA and I thought there would be plenty of takers.
Also yours has no typos.
mjw, this: "press F9. It will no appear in a second set of brackets"

should be "press CTRL+F9. It will noW appear in a second set of brackets"
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
Suggested Courses
Course of the Month9 days, 20 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question