View Single Post
  #21   Report Post  
Posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Deleting page numbers from certain pages

Use:

{ IF { PAGE } = 2 "" { IF { PAGE } = 50 "" "{ PAGE } of { NUMPAGES }" }

assuming that you want pages 2 and 50 included in the page count.

If not, use:

{ IF { PAGE } = 2 "" { IF { PAGE } = 50 "" "{ PAGE } of { = { NUMPAGES } -
2 }" }


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Bonnie Mozingo" Bonnie wrote in message
...
I was able to get the code to work but I cannot get the desired number
format
to stick, I prefer Page x of y. Any suggestions?

"charlie hoying" wrote:

I can't quite understand what you're saying. What exactly should I do if
I
was trying to take away the page numbers for like pages 8 and 9 or
something,
because I can't really understand what you're saying about conditional
fields
and stuff.

--
charlie


"Stefan Blom" wrote:

One way is to use a conditional field in the footer (header).
Something like this should work:

{ IF { PAGE } = 2 "" { IF { PAGE } = 50 "" { PAGE } }

Note that each pair of field delimiters must be inserted with
Ctrl+F9; you can't just type them in.

--
Stefan Blom
Microsoft Word MVP


"Peeter" wrote in message
...
Is it possible to delete certain page numbers? I.e. How can I remove
page
numbers e.g. from pages 2 and 50 without deleting other? I would
really
appreciate if someone could help me.