+ Reply to Thread
Results 1 to 5 of 5

Custom Footer - Printed by...- how to

  1. #1
    Registered User
    Join Date
    01-23-2007
    Posts
    18

    Custom Footer - Printed by...- how to

    How to add to custom footer information such as - who was printed this document?
    Thanks in advance
    Mada

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi Mada,

    This code should do what you're looking for. Copy this and paste it into the VBA code window for ThisWorkbook:
    Please Login or Register  to view this content.
    The first Footer line will set the Left Footer to show "Printed by:" and the EXCEL user name that you can see by going to Help -> About -> This product is licensed to: "someone's name". This will not change no matter who is logged into the computer at the time.

    The next line will set the Right Footer to show "Printed by:" and the WINDOWS user account that is logged into the computer/network at the time of printing. This will change depending on who is logged into the PC at that time.

    Simply remove one of the two lines if you don't want both to show up (or change them around, etc.) Have fun!

  3. #3
    Registered User
    Join Date
    01-23-2007
    Posts
    18
    Hi Paul; Thank you very much - it works perfectly.
    i have only one more question. These code woks for active worksheet.
    How/what to modify to print it on all printed sheets.
    Let say I group three sheets and I like to have it on all of them.
    Thanks in advance
    Mada

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi Mada,

    To have this info appear on all sheets, including grouped sheets, change the code to this:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-23-2007
    Posts
    18
    Thanks a lot again
    Regards
    Mada

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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