+ Reply to Thread
Results 1 to 5 of 5

page counter dependent on pages printed

  1. #1
    Registered User
    Join Date
    01-17-2011
    Location
    colorado, usa
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question page counter dependent on pages printed

    I would like to have a counter on my excel sheet that will change each time a page is printed( I hit print with the number 1 in a1, the next time I hit print I would like the number to change to 2....) I have head this can be done but do not know enough to write code myself. If anyone can help me with a basic cut and paste code it would save me a ton of time and headache in tracking thies documents after they have been printed.

    Thanks for your help!!!
    BRKOH

  2. #2
    Registered User
    Join Date
    07-27-2010
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: page counter dependent on pages printed

    Hi,

    If you go into your visual basic editor and double click on ThisWorkbook and paste the following code, the value in cell A1 will be increased by 1 each time the user clicks print.
    Please Login or Register  to view this content.
    However, this will increment regardless of whether the print succeeded or the user cancelled, but should give you a start.

    Thanks,
    Dom

  3. #3
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: page counter dependent on pages printed

    just a note:
    you can press "Alt" and "F11" together to enter the VBA editor
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

  4. #4
    Registered User
    Join Date
    01-13-2011
    Location
    new york, usa
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: page counter dependent on pages printed

    is there a way in the previous question to save it to a spacific file every time it prints?

  5. #5
    Registered User
    Join Date
    01-17-2011
    Location
    colorado, usa
    MS-Off Ver
    Excel 2003
    Posts
    2

    Talking Re: page counter dependent on pages printed

    That is perfect thank you all for your help! Did exactly what I was hoping for!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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