+ Reply to Thread
Results 1 to 2 of 2

Linking Header&footer to sheet and protecting

  1. #1
    Forum Contributor
    Join Date
    02-25-2008
    Posts
    101

    Linking Header&footer to sheet and protecting

    Hiya,

    Is there a way to link something in the Header to a cell on the sheet? e.g. '=A1'?

    Also, I know about protecting worksheets and the workbook, but is there a way to protect the Header&Footer as well?

    Thanks

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning skatmandu2002

    There is no way to protect the header and footer so that they cannot be changed, however there is an event called Before_Print that will capture when a user is going to print a document. You need toi intercept this and set the header / footer as you wish :

    Put this code into your ThisWorkbook module :
    Please Login or Register  to view this content.
    Just modify to set which headers / footers you want to show.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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