Insert "page x of y" problem

G

Guest

I create a 2 section Document in MS word 2007.

First section is Page 01 - some cover page...
Second section Page 02, 03, 04 - the real document...

Than I go insert header and Footer but not on the page 01.
In the Header, on the right, upper part of the document, I want to
place page number with the following format:

Insert - Page number - Current Position - "Page X of Y"


Everything works great except that the "Y" value counts all the pages in the
all document and I do not want that this "Y" value count a very first page in
the document, the cover page at all.

I do not know how to do that....


Every try leads me, for. e.g.: "Page 02 of 05", but the problem is that
I do not want that Cover page will be counted in that 5 pages, so,
proper way need to be, for. e.g.: "Page 02 of 04", and totally leave
the very first page from any page calculations at all.

Very great thank everyone that can help me with this.

Best regards!!!
 
J

Jay Freedman

If you select the "Y" number and press Shift+F9, you'll see that it's
a field with the code {NUMPAGES}. This field always evaluates the
total number of pages in the document.

If you know that you must exclude exactly one page -- that the first
section will never become two or more pages -- then you can change the
field as follows:

Before the {NUMPAGES} field, type an equal sign. After the {NUMPAGES}
field, type a minus sign and the number 1. It should look like this:

= {NUMPAGES} - 1

Select that entire expression and press Ctrl+F9, which inserts another
set of field braces around it:

{= {NUMPAGES} - 1}

Put the cursor anywhere within the field and press F9. It will now
evaluate to the total number of pages minus one.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
S

Suzanne S. Barnhill

Also, if there are only the two sections, the SECTIONPAGES field can be used
instead.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Insert "page x of y" problem:
~~~~~~~~~~~~~~~~~~~
It is a great to know that some simple and logicall solution for this really
exist :)
This resolve my problem and the issue here completelly.
------
(At the end of this explanation, there will be just one litlle more question
about the same issue, so if you can help also here....)
-----

Insert "page x of y" problem:
~~~~~~~~~~~~~~~~~~~
I try, first to times, very quickly what you suggest.
Than, on that two first times, I get an result: "Page 2 of Page 5 -1"

Than, on the third and the last try, I read your solution really slow and
carefully.
Now a figure that there is an empty sign space input beetwen the characters:

"= { NUMPAGES } - 1"

and the second mistake which I do is, that I use "Shift" instead a "CTRL" :)

That leads me with false result, an allready mentioned: "Page 2 of Page 5
-1" ...

Than I go all back reading your instructions, and finally try, this last and
the third time, and everithnig was perfect, when I did not make those two
slappy mistakes of mine.
And finally, right now I get my solution:

"Page 2 of Page 4"

I just wrote all this if someone will be as quick and slappy as I did :)
I did not sleep more than 48h...

Once again thank you for Your polite and really quick help.
Best regards!!!


LAST QUESTION HERE:
Is there any chance that I input a zero in front of the numbers in Page
countdown on example as follows:

Instead writing an
 
G

Guest

LAST QUESTION HERE:
Is there any chance that I input a zero in front of the numbers in Page
countdown on example as follows:

Instead writing a:

"Page 2 of Page 4"

can it write:

"Page 02 of Page 04" ????


One more thank you!
 
J

Jay Freedman

Yes, you need to add a "numeric picture switch" (that's what Word's Help
calls it) at the end of the field code, like this:

{= {NUMPAGES} - 1 \# 00}

If the result of the calculation has only one digit, it will be displayed
with a zero before it; if it's two or more digits, there won't be a zero.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Now I got an whole picture, it is a tricky one, but I finally get a final
result what I want:

TASK: Two section document, first page (Cover page) left intact with any
numbering issue at all, second section starts just from "Page 01 of Page 04"
allthough, the real picture is that the same Document really have 05 pages!!!


HOW I DID IT ALL AND FINALLY, FULLY DETAILED...:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. I go back to the basic and all over start, when I first Insert - Page
number - Top of Page - Page X of Y - Bold numbers 3.
The result of it will revill with: "Page 2 of 5"

2. Than I mark with the mouse number entry 5 here (that is an famous "Y"
value...)

3.1. Follow your previous instructions, I press "SHIFT + F9" and I get an
entry:
Page 1 of { NUMPAGES } .

3.2. Now I put a text entry in front of { NUMPAGES }, it sound like this:
"= { NUMPAGES } - 1"
You must be carefull that the SPACE exist between:
a) "=" and the "{ NUMPAGES } "
b) "{ NUMPAGES } and the "-"
c) "-" and the "1"
Last, you must be carefull that a minus sign is a short one ( - ), not
extended ( ̶ ), as Word many times want to change it automatically after
ENTER or simillar is pressed...

3.3. Than I mark with the mouse whole entry / field code ("= { NUMPAGES }
- 1") and press a "CTRL+F9" (not any more the "SHIFT+F9" like on the first
time), and I get the:
"{ = { NUMPAGES } - 1}"
3.4. Then I left the mouse point blincking in anywhere in that same entry,
and prees automatically "F9" just one more time, and finally get an result:
"Page 2 of 4"

4. Finally, I ask you, hot to get that it is not sign with "Page 2 of 4",
but "Page 02 of 04"?
So', I follow your instructions with those called Word's help "numeric
picture switch":

4.1 Go a litlle back to previous stepps carefully just one more time (Figure
3.3. here): I change the "{ = { NUMPAGES } - 1}" into "{ = { NUMPAGES } -
1 \# 00}" .
You must be again carefull that the SPACE exist between:
a) "=" and the "{ NUMPAGES } "
b) "{ NUMPAGES } and the "-"
c) "-" and the "1"
d) "1" and "\"
e) space DOES NOT exist between "\" and the "#"
f) space DOES exist between "#" and the "00"
g) space DOES NOT exist between "00" and the "}"
Last, you must be carefull that a minus sign is a short one ( - ), not
extended ( ̶ ), as Word many times want to change it automatically after
ENTER or simillar is pressed...

4.2. Then I left the mouse point blincking in anywhere in that same entry,
and prees automatically "F9" just one more time, and finally get an result:
"Page 2 of 04"

4.3. The last problem is that I want to create the value "Page 02 of 04",
and here the result how to get it even that...
Finally I do all the previous mentioned with the Value "X" here (Page 2):
a) I mark with the mouse number entry 2 here (that is an famous "X" value...)
and than I press "SHIFT + F9", and that value instantly become a: "{ PAGE }".
b) I add on this value, with your polite instructions, as follows:
"= { PAGE } - 1 \# 00"
c) Than I mark all this with the mouse carefully and press "CTRL + F9" and
that leads me instantlly with the new closed value: "{= { PAGE } - 1 \# 00}".
d) Then I left the mouse point blincking in anywhere in that same entry, and
press automatically "F9" just one more time, and finally get an result:
"Page 02 of 04"
If you get a "!Syntax error", reviled, your MS WORD probably automatically
change the minus sign from a short one ( - ), to extended ( ̶ ), so' go back
just one step before, and correct that...
Off course, every other and previous warnings, about when SPACE stands in
whole this value stuff, it rules here also...

5. With all this I finally get what I want: "Page 02 of 04".
And just the cherry on top of it: I want that it is written "Page 02 of Page
04", so I just added "Page" word text entry between the word "of" and between
the number "04" and "voila", here ti is a finall THE-END of all of this :)

I WRITE ALL THIS REALLY DETAILED, BECAUSE IT IS A LITLLE TRICKY...
IF I WROTE SOMETHING WRONG, MVP's CORRECT ME PLEASE, JUST FOR THE GROUP
FORUM USERS....
------------------------------------------------------------------------------------
Well Jay Freedman, in my part of the globe (Italy, Croatia), it is a polite
to say first a really great Thank you, and invite you at least to a good cup
of coffee :)
You deserve it really!
Once more, best regard from Bruno Horvatic, presently situated in Zagreb,
Croatia!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top