Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Does anyone know how to do arithmetic using the PAGE field code to get automatic page numbers? I want to do something like this (this does NOT work):
{ = { PAGE } + 1 \* Arabic \* MERGEFORMAT } The idea is, I want to use the automatic page numbering in a header or footer, and would normally use { PAGE \* Arabic \* MERGEFORMAT }, but I want to have the number printed to be ONE GREATER THAN the current value of PAGE. Any help would be greatly appreciated. |
#2
![]()
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
![]()
You can certainly make calculations including page numbers, but note that you
must enter each pair of field delimiters, { }, by pressing Ctrl+F9. To show/hide all field codes, press Alt+F9. To update all fields in the selection, press F9. -- Stefan Blom Microsoft Word MVP "tom5490" wrote in message ... Does anyone know how to do arithmetic using the PAGE field code to get automatic page numbers? I want to do something like this (this does NOT work): { = { PAGE } + 1 \* Arabic \* MERGEFORMAT } The idea is, I want to use the automatic page numbering in a header or footer, and would normally use { PAGE \* Arabic \* MERGEFORMAT }, but I want to have the number printed to be ONE GREATER THAN the current value of PAGE. Any help would be greatly appreciated. -- tom5490 |
#3
![]()
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
![]()
You can do it. Just be aware that, if you have a TOC, what will be displayed
there is the result of the PAGE field, not the calculated field. "tom5490" wrote in message ... Does anyone know how to do arithmetic using the PAGE field code to get automatic page numbers? I want to do something like this (this does NOT work): { = { PAGE } + 1 \* Arabic \* MERGEFORMAT } The idea is, I want to use the automatic page numbering in a header or footer, and would normally use { PAGE \* Arabic \* MERGEFORMAT }, but I want to have the number printed to be ONE GREATER THAN the current value of PAGE. Any help would be greatly appreciated. -- tom5490 |
#4
![]() |
|||
|
|||
![]()
Hello Stefan,
I want to do something like this (this does NOT work): { = { PAGE } + 1 \* Arabic \* MERGEFORMAT } ... note that you must enter each pair of field delimiters, { }, by pressing Ctrl+F9. To show/hide all field codes, press Alt+F9. To update all fields in the selection, press F9. Thank you! I was entering the curly braces as literals and wasn't aware that they need to be entered by pressing Ctrl+F9. I probably also would have neglected to update the field by pressing F9. So, it works now! Thanks again and best regards, Tom -- [quote='Stefan Blom[_3_];493376'] [snip] -- "tom5490" wrote in message ... [snip] |
#5
![]()
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
![]()
I'm glad I could help!
-- Stefan Blom Microsoft Word MVP "tom5490" wrote in message ... Hello Stefan, I want to do something like this (this does NOT work): { = { PAGE } + 1 \* Arabic \* MERGEFORMAT } ... note that you must enter each pair of field delimiters, { }, by pressing Ctrl+F9. To show/hide all field codes, press Alt+F9. To update all fields in the selection, press F9. Thank you! I was entering the curly braces as literals and wasn't aware that they need to be entered by pressing Ctrl+F9. I probably also would have neglected to update the field by pressing F9. So, it works now! Thanks again and best regards, Tom -- 'Stefan Blom[_3_ Wrote: ;493376'] [snip] -- "tom5490" wrote in message ... [snip] -- tom5490 |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use field codes to format a number into currency? | Mailmerge | |||
How do I change the starting number in field codes? | Microsoft Word Help | |||
page number previously printed, now filed codes are print instead | Microsoft Word Help | |||
Secondary page numbering using field codes | Microsoft Word Help | |||
Can I insert a conditional page break using field codes? | Mailmerge |