+ Reply to Thread
Results 1 to 2 of 2

Total number of pages wrong

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    Netherlands
    MS-Off Ver
    2010
    Posts
    16

    Total number of pages wrong

    I use this code to print documents with sequential numbering. The sequential numbering is printed at the bookmark "Number"
    The pagenumbering of the document is placed in the footer just like I would do in a non-VBA document.
    However the numbers, when a 3-paged document is printed, show up like 1 of 1, 2 of 2 and 3 of 3.

    Does anyone know what I'm doing wrong?
    (any suggestions on the code are also welcome )

    This is the code:


    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    07-24-2015
    Location
    Netherlands
    MS-Off Ver
    2010
    Posts
    16

    Re: Total number of pages wrong

    Solved it!
    http://word.mvps.org/faqs/apperrors/pagexofy.htm

    I had to disable background printing:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Exportasfixedformat multiple pages all wrong sizes!!
    By dantray02 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2015, 11:28 AM
  2. Incorrect number of total pages on some worksheets
    By Svenssson in forum Excel General
    Replies: 0
    Last Post: 10-13-2014, 03:31 PM
  3. Split total number of pages into ranges
    By judi0802 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-30-2012, 01:46 AM
  4. Replies: 1
    Last Post: 04-12-2012, 05:56 PM
  5. how do i total up different pages all on one page?
    By davey37736 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2006, 02:15 AM
  6. Total Across Pages
    By MamaHart in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-12-2005, 11:06 AM
  7. blank pages: what am I doing wrong?
    By kiragale in forum Excel General
    Replies: 3
    Last Post: 01-04-2005, 03:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1