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. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #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) ?

  4. #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
  •