From: Bonnie Mozingo Bonnie on
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
> > news:18E040B8-765D-4A49-9372-0D5AA9BB19F5(a)microsoft.com...
> > > 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.
> >
> >
> >
> >
> >
From: Doug Robbins - Word MVP on
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 Mozingo(a)discussions.microsoft.com> wrote in message
news:24FD37A2-35B0-41AA-861D-FB20AC45E90A(a)microsoft.com...
> 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
>> > news:18E040B8-765D-4A49-9372-0D5AA9BB19F5(a)microsoft.com...
>> > > 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.
>> >
>> >
>> >
>> >
>> >