Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel97 How can I refer to a cell in the Header?

Status
Not open for further replies.

BarryG

Programmer
Nov 19, 1999
23
US
I can't find anything that tells how to pass a cell's value to the sheet's header. Is this possible?
 
I've used tip from:<br>
<A HREF=" TARGET="_new"><br>
Sub UpdateHeader<br>
Worksheets(1).PageSetup.LeftFooter = &quot;Your static text &quot; & Worksheets(1).Cells(1, 1).Value &&quot; static text continues&quot;<br>
End Sub<br>
<br>
With this you can build headers/footers you want. There's also a method to run this macro automatically before printing.<br>
<br>
Good luck,<br>
Al<br>
<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top