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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert a cell reference in header/footer

Status
Not open for further replies.

LittleNFiesty

Technical User
Sep 26, 2006
46
0
0
US
I know you can put in the header/footer to have it print the name of the sheet or file, but I want it to print the data that is in a specific cell in the header. What is the code to do that?

Sheet reference is &[Tab]
File reference is &[File]
Cell reference is....
 



Hi,

There is none. It will have to be done using VBA. Please post your question in forum707.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
You can reserve a couple of rows/columns that will be printed at the top/side of the page (sheet specific print settings, can be outside print area). After margins adjustments they can look like a part of the header.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top