Cell Content as Header?

  • Thread starter Thread starter alex3867
  • Start date Start date
A

alex3867

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

And if so, HOW!?

Thanks
Alex
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top