Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Jerry
 
Posts: n/a
Default Secondary page numbering using field codes

I have a large Office 2000 Word document with 240 pages plus a 50 page Annex
which is an exact reproduction of another published document which, of
course, has its own page numbering. I want to number the annex with two page
numbers, the first consecutive from 240, and the second using the numbering
from the original. This way I can include the Annex index as published. The
two numbers are in a moderately complex header with the normal part in Arial
and the Annex header in Times Roman. Now I can start the second pseudo page
numbering using field codes:

{= -1 + {PAGE \* MERGEFORMAT} €“ {PAGEREF Annex \* MERGEFORMAT} \*
MERGEFORMAT}

and that sort of works AOK.

Three questions.

When I update the field code the numbering is AOK but I cannot get it into
the right font type (Times Roman 11 point cf Arial 12 point for the normal
page numbering). If I select the field and try setting it with Font size then
it flashes the size I want before defaulting back to Arial about 8 pt. The
Page Number style (which it shows as being) is set up as Times Roman 11 pt. I
have not been able to set a new page numbering style. So how do I get the
correct font?

As far as I can see the €“1 in the equation should be +1. It seems that the
Alt-F9 to see the field codes is enough to change the page numbering by 2,
hence PAGE is 2 more than it should be. Is there any way of avoiding this
inconsistency and not having to fudge the number?

After editing the main document, even if the page numbering does not change,
then the calculated number does seem to change and this is only corrected by
updating the field. Is it possible, and is it sensible, to auto calculate the
field? It is a pain to remember and it takes a minute or so.

The last two issues are not critical, just a pain in the neck!

Any help will be appreciated.
--
Jerry
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default Secondary page numbering using field codes

To cure the font issue lose the three \*mergeformat switches and change the
last one only to \*charformat. Then format the field as you want it to
appear.
Calculated fields in a header will not automatically update. The simplest
solution is to add an update macro to a toolbar button - see
http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jerry wrote:
I have a large Office 2000 Word document with 240 pages plus a 50
page Annex which is an exact reproduction of another published
document which, of course, has its own page numbering. I want to
number the annex with two page numbers, the first consecutive from
240, and the second using the numbering from the original. This way I
can include the Annex index as published. The two numbers are in a
moderately complex header with the normal part in Arial and the Annex
header in Times Roman. Now I can start the second pseudo page
numbering using field codes:

{= -1 + {PAGE \* MERGEFORMAT} - {PAGEREF Annex \* MERGEFORMAT} \*
MERGEFORMAT}

and that sort of works AOK.

Three questions.

When I update the field code the numbering is AOK but I cannot get it
into the right font type (Times Roman 11 point cf Arial 12 point for
the normal page numbering). If I select the field and try setting it
with Font size then it flashes the size I want before defaulting back
to Arial about 8 pt. The Page Number style (which it shows as being)
is set up as Times Roman 11 pt. I have not been able to set a new
page numbering style. So how do I get the correct font?

As far as I can see the -1 in the equation should be +1. It seems
that the Alt-F9 to see the field codes is enough to change the page
numbering by 2, hence PAGE is 2 more than it should be. Is there any
way of avoiding this inconsistency and not having to fudge the number?

After editing the main document, even if the page numbering does not
change, then the calculated number does seem to change and this is
only corrected by updating the field. Is it possible, and is it
sensible, to auto calculate the field? It is a pain to remember and
it takes a minute or so.

The last two issues are not critical, just a pain in the neck!

Any help will be appreciated.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Jerry
 
Posts: n/a
Default Secondary page numbering using field codes

Thanks for solving the problem - I was part way there but you saved me a lot
of trial and error, and time.

--
Jerry


"Graham Mayor" wrote:

To cure the font issue lose the three \*mergeformat switches and change the
last one only to \*charformat. Then format the field as you want it to
appear.
Calculated fields in a header will not automatically update. The simplest
solution is to add an update macro to a toolbar button - see
http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Jerry wrote:
I have a large Office 2000 Word document with 240 pages plus a 50
page Annex which is an exact reproduction of another published
document which, of course, has its own page numbering. I want to
number the annex with two page numbers, the first consecutive from
240, and the second using the numbering from the original. This way I
can include the Annex index as published. The two numbers are in a
moderately complex header with the normal part in Arial and the Annex
header in Times Roman. Now I can start the second pseudo page
numbering using field codes:

{= -1 + {PAGE \* MERGEFORMAT} - {PAGEREF Annex \* MERGEFORMAT} \*
MERGEFORMAT}

and that sort of works AOK.

Three questions.

When I update the field code the numbering is AOK but I cannot get it
into the right font type (Times Roman 11 point cf Arial 12 point for
the normal page numbering). If I select the field and try setting it
with Font size then it flashes the size I want before defaulting back
to Arial about 8 pt. The Page Number style (which it shows as being)
is set up as Times Roman 11 pt. I have not been able to set a new
page numbering style. So how do I get the correct font?

As far as I can see the -1 in the equation should be +1. It seems
that the Alt-F9 to see the field codes is enough to change the page
numbering by 2, hence PAGE is 2 more than it should be. Is there any
way of avoiding this inconsistency and not having to fudge the number?

After editing the main document, even if the page numbering does not
change, then the calculated number does seem to change and this is
only corrected by updating the field. Is it possible, and is it
sensible, to auto calculate the field? It is a pain to remember and
it takes a minute or so.

The last two issues are not critical, just a pain in the neck!

Any help will be appreciated.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Numbering kcmeehan New Users 4 December 28th 05 07:31 PM
turn off page numbering richards New Users 1 November 4th 05 02:56 PM
Start at: page numbering not working Blaise Page Layout 3 July 9th 05 06:09 PM
Page numbering and un-numbering Elbert Page Layout 2 July 8th 05 03:33 PM
Insert objects at page breaks DRS - Jonathan Microsoft Word Help 4 November 29th 04 07:16 PM


All times are GMT +1. The time now is 12:25 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"