+ Reply to Thread
Results 1 to 3 of 3

BeforePrint does not work

  1. #1
    Registered User
    Join Date
    04-08-2013
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    2

    BeforePrint does not work

    Hello there, I just cannot get BeforePrint to work for me. Here is the sub I use:

    Private Sub Workbook_BeforePrint(Cancel As Boolean)
    With ActiveSheet
    .PageSetup.LeftFooter = .Range("A1").Text
    End With
    End Sub

    My footer updates nicely with the worksheet options (BeforeDoubleCLick, Change, etc.), but not with Workbook.BeforePrint. I tried preview, Quickprint, manually changing the content of A1 cell, creating multiple worksheets - nothing can make the footer update. Thanks for any help.

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: BeforePrint does not work

    or
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Registered User
    Join Date
    04-08-2013
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    2

    Re: BeforePrint does not work

    No success yet. Thanks anyway.

+ 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