+ Reply to Thread
Results 1 to 3 of 3

Cell Content as Header?

  1. #1
    Registered User
    Join Date
    08-08-2006
    Posts
    25

    Cell Content as Header?

    IS it possible to use the content of a particular cell as the header/footer?

    And if so, HOW!?

    Thanks
    Alex

  2. #2
    Gary''s Student
    Guest

    RE: Cell Content as Header?

    Let’s say we want to use the content of cell Z100 in the center header:

    Create a BeforePrint event macro containing the following line:
    ActiveSheet.PageSetup.CenterHeader = Range("Z100").Value

    To understand event macros, see:

    http://www.cpearson.com/excel/events.htm

    --
    Gary''s Student


    "alex3867" wrote:

    >
    > IS it possible to use the content of a particular cell as the
    > header/footer?
    >
    > And if so, HOW!?
    >
    > Thanks
    > Alex
    >
    >
    > --
    > alex3867
    > ------------------------------------------------------------------------
    > alex3867's Profile: http://www.excelforum.com/member.php...o&userid=37220
    > View this thread: http://www.excelforum.com/showthread...hreadid=569830
    >
    >


  3. #3
    Registered User
    Join Date
    08-08-2006
    Posts
    25

    Thumbs up

    Many thanks Gary''s Student!


+ 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