Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Mar 2008
    Location
    New York, New York, USA
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pagination with Endnotes (2000-2207)

    Hello,
    I'm trying to create a macro to paginate documents consecutively. The problem is, the files have Endnotes, but Word does not include the endnotes pages in it's page count using:

    Selection.Information(wdActiveEndAdjustedPageNumbe r)

    So all my documents are off by a page or two depending on how many Endnotes pages were included in the previous document.

    Is there a way to get the total page count, including Endnotes?

    Thanks
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Pagination with Endnotes (2000-2207)

    How about Selection.Information(wdNumberOfPagesInDocument) ?

  3. #3
    New Lounger
    Join Date
    Mar 2008
    Location
    New York, New York, USA
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Pagination with Endnotes (2000-2207)

    That works. Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •