A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

offset ms word page numbers



 
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2005, 02:58 PM
laxonator laxonator is offline
Member
 
First recorded activity by OfficeFrustration: Jul 2005
Posts: 1
Default offset ms word page numbers

i have a document automation process that gets run in access through VBA. i'm trying to insert a fax cover sheet that is custom to the record being merged with access. all the merging and automation is fine. my problem is this: the fax cover sheet goes at the beginning of the document (naturally), so this means that the rest of the document (the main document or report) is offset by one page. i have page numbers in the header of the report that get offset (so pg 2 or the report is 3 and so on). of course it's page 3 in the word document as a whole, but for a fax transmission it is intended to be page 2. is there a way that i can mark the first page as a cover page and have it not count as a page for the auto page number? as in, can i offset the pages after the first page by (-1). please help, i hope there's a way to do this. thanks!
  #2  
Old September 3rd, 2005, 01:24 AM
macropod macropod is offline
Member
 
First recorded activity by OfficeFrustration: Aug 2005
Posts: 12
Default

Quote:
Originally Posted by laxonator
is there a way that i can mark the first page as a cover page and have it not count as a page for the auto page number? as in, can i offset the pages after the first page by (-1). please help, i hope there's a way to do this. thanks!
Hi laxonator,

Reducing the page number by one is actually quite easy to do. If you select your document's page number field and press Shift-F9, its field code should expand to give you something like:
{PAGE}
If you select the whole of this field and press Ctrl-F9, you'll enclose the existing field inside a new one, with the coding looking like:
{ {PAGE} }
Note: You cannot simply type these braces in - they must be input as described.
Edit the field to look like:
{={PAGE}-1}
If you now press F9 to update the result, your page numbers will be reduced by one and your cover page will now display a zero. So, we need to make one more modification to suppress the 0 display. That is, we need to add a numeric picture switch. To do this, modify the field so that it looks like:
{={PAGE}-1 \# 0;;}

Numeric picture switches accept three display options: +ve, -ve and 0, each separated by a semi-colon. Here, the '0;;' tells Word to display +ve values only, as unformatted values.

If you now press F9 to update the result, your page numbers will be reduced by one and your cover page will not display the zero.

Cheers
PS: I hope this is better late than never ...
  #3  
Old October 14th, 2005, 11:58 AM
Robert M. Franz (RMF)
external usenet poster
 
Posts: n/a
Default offset ms word page numbers

Hi laxonator

laxonator wrote:
i have a document automation process that gets run in access through
VBA. i'm trying to insert a fax cover sheet that is custom to the
record being merged with access. all the merging and automation is
fine. my problem is this: the fax cover sheet goes at the beginning of
the document (naturally), so this means that the rest of the document
(the main document or report) is offset by one page. i have page
numbers in the header of the report that get offset (so pg 2 or the
report is 3 and so on). of course it's page 3 in the word document as
a whole, but for a fax transmission it is intended to be page 2. is
there a way that i can mark the first page as a cover page and have it
not count as a page for the auto page number? as in, can i offset the
pages after the first page by (-1). please help, i hope there's a way
to do this. thanks!


See macropod's answer.

I could see one danger with this approach though: It does not really
change the page numbers, but simply displays something else. IOW: If the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a PAGE
field would show on such a page, and not what you calculate with PAGE -1
etc.

An alternative would comprise of a couple of steps: using a section
break to divide the cover page from the rest of the document, ensuring
that the page numbers in section 2 start where they should , _and_
you'll want to unlink _all_ (6) possible headers/footers from section 2
from the previous section.

2cents
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
  #4  
Old October 14th, 2005, 12:43 PM
macropod macropod is offline
Member
 
First recorded activity by OfficeFrustration: Aug 2005
Posts: 12
Default

Quote:
Originally Posted by Robert M. Franz (RMF)
Hi laxonator


I could see one danger with this approach though: It does not really
change the page numbers, but simply displays something else. IOW: If the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a PAGE
field would show on such a page, and not what you calculate with PAGE -1
etc.
Hi Robert, while that's certainly true, it'll generally work fine for the case laxonator described. For cross-references, the same technique could be applied to any PAGEREF fields. That only leaves TOCs which, I admit, can't be corrected in this way. In fact the TOC page number problem is one I've pointed out in other threads/forums.

Cheers
  #5  
Old October 14th, 2005, 05:18 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default offset ms word page numbers

When there's just one page to be skipped, you can accomplish all of this by
setting page numbering to start from 0.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"macropod" wrote in message
...

Robert M. Franz (RMF) Wrote:
Hi laxonator


I could see one danger with this approach though: It does not really
change the page numbers, but simply displays something else. IOW: If
the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a PAGE
field would show on such a page, and not what you calculate with PAGE
-1
etc.



Hi Robert, while that's certainly true, it'll generally work fine for
the case laxonator described. For cross-references, the same technique
could be applied to any PAGEREF fields. That only leaves TOCs which, I
admit, can't be corrected in this way. In fact the TOC page number
problem is one I've pointed out in other threads/forums.

Cheers


--
macropod


  #6  
Old October 15th, 2005, 10:09 AM
macropod
external usenet poster
 
Posts: n/a
Default offset ms word page numbers

Hi Suzanne,

Yes, that's true, but I believe the intention was to suppress the 0 and only
have the 'attachment' pages numbered.

Cheers


"Suzanne S. Barnhill" wrote in message
...
When there's just one page to be skipped, you can accomplish all of this

by
setting page numbering to start from 0.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup

so
all may benefit.

"macropod" wrote in message
...

Robert M. Franz (RMF) Wrote:
Hi laxonator


I could see one danger with this approach though: It does not really
change the page numbers, but simply displays something else. IOW: If
the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a PAGE
field would show on such a page, and not what you calculate with PAGE
-1
etc.



Hi Robert, while that's certainly true, it'll generally work fine for
the case laxonator described. For cross-references, the same technique
could be applied to any PAGEREF fields. That only leaves TOCs which, I
admit, can't be corrected in this way. In fact the TOC page number
problem is one I've pointed out in other threads/forums.

Cheers


--
macropod




  #7  
Old October 15th, 2005, 03:08 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default offset ms word page numbers

Am I missing something? If the OP wants numbering to start at 1 on page 2,
then starting numbering at 0 and omitting a { PAGE } field on the first
(cover, title) page should do the trick. Obviously, this works only in this
case; for cases where there are several pages before numbering starts at 1,
this won't help. But this does avoid a section break.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"macropod" wrote in message
...
Hi Suzanne,

Yes, that's true, but I believe the intention was to suppress the 0 and

only
have the 'attachment' pages numbered.

Cheers


"Suzanne S. Barnhill" wrote in message
...
When there's just one page to be skipped, you can accomplish all of this

by
setting page numbering to start from 0.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"macropod" wrote in message
...

Robert M. Franz (RMF) Wrote:
Hi laxonator


I could see one danger with this approach though: It does not really
change the page numbers, but simply displays something else. IOW: If
the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a PAGE
field would show on such a page, and not what you calculate with

PAGE
-1
etc.



Hi Robert, while that's certainly true, it'll generally work fine for
the case laxonator described. For cross-references, the same technique
could be applied to any PAGEREF fields. That only leaves TOCs which, I
admit, can't be corrected in this way. In fact the TOC page number
problem is one I've pointed out in other threads/forums.

Cheers


--
macropod





  #8  
Old October 16th, 2005, 12:50 AM
macropod
external usenet poster
 
Posts: n/a
Default offset ms word page numbers

Hi Suzanne,

Presumably, then, one would have to set the document up with a 'different
1st page'. So, yes, that is a valid alternative way of achieving a similar
result.

Cheers


"Suzanne S. Barnhill" wrote in message
...
Am I missing something? If the OP wants numbering to start at 1 on page 2,
then starting numbering at 0 and omitting a { PAGE } field on the first
(cover, title) page should do the trick. Obviously, this works only in

this
case; for cases where there are several pages before numbering starts at

1,
this won't help. But this does avoid a section break.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup

so
all may benefit.

"macropod" wrote in message
...
Hi Suzanne,

Yes, that's true, but I believe the intention was to suppress the 0 and

only
have the 'attachment' pages numbered.

Cheers


"Suzanne S. Barnhill" wrote in message
...
When there's just one page to be skipped, you can accomplish all of

this
by
setting page numbering to start from 0.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"macropod" wrote in

message
...

Robert M. Franz (RMF) Wrote:
Hi laxonator


I could see one danger with this approach though: It does not

really
change the page numbers, but simply displays something else. IOW:

If
the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a

PAGE
field would show on such a page, and not what you calculate with

PAGE
-1
etc.



Hi Robert, while that's certainly true, it'll generally work fine

for
the case laxonator described. For cross-references, the same

technique
could be applied to any PAGEREF fields. That only leaves TOCs which,

I
admit, can't be corrected in this way. In fact the TOC page number
problem is one I've pointed out in other threads/forums.

Cheers


--
macropod






  #9  
Old October 16th, 2005, 12:54 AM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default offset ms word page numbers

Yes, unless one has used Insert | Page Numbers, which allows for skipping
the first page.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"macropod" wrote in message
...
Hi Suzanne,

Presumably, then, one would have to set the document up with a 'different
1st page'. So, yes, that is a valid alternative way of achieving a similar
result.

Cheers


"Suzanne S. Barnhill" wrote in message
...
Am I missing something? If the OP wants numbering to start at 1 on page

2,
then starting numbering at 0 and omitting a { PAGE } field on the first
(cover, title) page should do the trick. Obviously, this works only in

this
case; for cases where there are several pages before numbering starts at

1,
this won't help. But this does avoid a section break.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"macropod" wrote in message
...
Hi Suzanne,

Yes, that's true, but I believe the intention was to suppress the 0

and
only
have the 'attachment' pages numbered.

Cheers


"Suzanne S. Barnhill" wrote in message
...
When there's just one page to be skipped, you can accomplish all of

this
by
setting page numbering to start from 0.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"macropod" wrote in

message
...

Robert M. Franz (RMF) Wrote:
Hi laxonator


I could see one danger with this approach though: It does not

really
change the page numbers, but simply displays something else.

IOW:
If
the
document has a TOC, or any cross-reference to a page number, the
reference will be "off": it will still point you to whatever a

PAGE
field would show on such a page, and not what you calculate with

PAGE
-1
etc.



Hi Robert, while that's certainly true, it'll generally work fine

for
the case laxonator described. For cross-references, the same

technique
could be applied to any PAGEREF fields. That only leaves TOCs

which,
I
admit, can't be corrected in this way. In fact the TOC page number
problem is one I've pointed out in other threads/forums.

Cheers


--
macropod







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The WordPerfect "Reveal Codes" method is so much easier to use. Torden General Discussion 6 April 19th, 2010 07:50 PM
Page Numbers Print { PAGE } in Footer in WORD even after ALT + F9 Brent General Discussion 3 June 2nd, 2005 05:35 PM
is word perfect compatible with office word? Noreen General Discussion 1 May 11th, 2005 11:17 PM
Envelope Address GR New Users 5 April 24th, 2005 09:48 PM
Word 2000/2002 - Proper Mail Merge steps for ODBC? Tony_VBACoder Mailmerge 7 September 2nd, 2004 09:21 PM


All times are GMT +1. The time now is 07:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.