Re: page numbering error

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Doug Robbins (dkr_at_NOmvpsSPAM.org)
Date: 11/13/04


Date: Sat, 13 Nov 2004 08:11:46 -0500

The { NUMPAGES } field should give you that. So you need Page { SECTION }
of { NUMPAGES } Pages to get Page x of y Pages.

{ NUMPAGES } gives the total number of pages in the document and is not
affected by the presence of Sections. There is a { SECTIONPAGES } field
that gives the number of pages in each Section if you ever need it.

-- 
Please respond to the Newsgroup for the benefit of others who may be 
interested.   Questions sent directly to me will only be answered on a paid 
consulting basis.
Hope this helps,
Doug Robbins - Word MVP
"redhair" <Almonit00@hotmail.com> wrote in message 
news:32cc0ca3.0411120931.48f1ac49@posting.google.com...
> "Doug Robbins" <dkr@NOmvpsSPAM.org> wrote in message 
> news:<#Vef7d4xEHA.4044@tk2msftngp13.phx.gbl>...
>> Just use the {SECTION} field in place of the {PAGE} field and your 
>> "pages"
>> will be numbered correctly.
>>
>> -- 
>
> Is there a way to get the total # of sections so I can have the
> numbers in the format of " x of y" ?
>
> Also, I can't manage to get space for footer without spliting the
> section to 2 pages. Whenever I add footer at least 1 or 2 rows of
> labels move to page 2 of the section even if the page margin leave
> space at the bottom. Can you help?
>
> Thanks 


Relevant Pages

  • Re: Page Numbering using Pageref
    ... I think he's already familiar with that, Terry. ... Word MVP FAQ site: http://word.mvps.org ... the workarounds was to use Pageref instead of numpages. ...
    (microsoft.public.word.application.errors)
  • Re: wdActiveEndPageNumber
    ... services on a paid consulting basis. ... Doug Robbins - Word MVP ... code gives me a false numPages: ... Set oRng = ActiveDocument.Characters.Last ...
    (microsoft.public.word.vba.beginners)