+ Reply to Thread
Results 1 to 6 of 6

Cell Referencing in Header/footer

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    39

    Cell Referencing in Header/footer

    Hi,

    I would like to reference Cell values in my header/footer. I currently have the following code:

    Please Login or Register  to view this content.
    The problem im having is that i would like to have multiple lines in my header/footer. Eg. i would like cell A1 to be displayed on the top left, and A2 displayed on the top left, but below the A1 value.

    How can I do this?

    Regards
    A

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,625

    Re: Cell Referencing in Header/footer

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-20-2013
    Location
    Abbottabad
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Cell Referencing in Header/footer

    anyone plz reply

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,625

    Re: Cell Referencing in Header/footer

    anyone plz reply
    I did Have you bumped the wrong thread?

  5. #5
    Registered User
    Join Date
    12-17-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Cell Referencing in Header/footer

    Quote Originally Posted by TMShucks View Post
    Please Login or Register  to view this content.

    Regards, TMS
    Hi,

    Thanks for your response. I edited your code to suit my needs as follows:

    Thanks for your reply. I edited the code to suit my needs as follows:

    Please Login or Register  to view this content.
    However, i now run into the issue that i have to run the macro on every sheet for this to apply.

    How do i apply this code for the header to every sheet and so that it is automatically updated?

    Your assistance would be much appreciated.

    Regards
    A

    Edit: I have attached a dummy file with the code.
    Attached Files Attached Files
    Last edited by a-man; 03-03-2014 at 06:10 AM.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,625

    Re: Cell Referencing in Header/footer

    Now, you see, this is what we call "scope creep". The original question was answered so, strictly speaking, this thread should be marked solved.

    Whatever, try:

    Please Login or Register  to view this content.

    Regards, TMS

+ 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. Replies: 5
    Last Post: 03-19-2012, 06:14 PM
  2. Can you link a cell into the header/footer???
    By CDNcameron in forum Excel General
    Replies: 2
    Last Post: 03-14-2012, 04:54 PM
  3. Cell link in Header/Footer
    By ssramu in forum Excel General
    Replies: 1
    Last Post: 09-14-2007, 05:28 AM
  4. [SOLVED] cell content in header/footer?
    By Stefi in forum Excel General
    Replies: 1
    Last Post: 06-02-2006, 03:20 AM
  5. [SOLVED] link to cell in header or footer
    By Robert Ehrlich in forum Excel General
    Replies: 2
    Last Post: 05-20-2006, 10:35 AM

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