Variable in Worksheet Header

shdawson

Active Member
Joined
Jan 6, 2007
Messages
381
Hi,

I need to put some different information in the various worksheets of a workbook I have. Things like attributes of the reports. Like...what department it is for, or something like that.

Can a person reference a cell in a header? Say I put that necessary info in a cell on worksheet INFO. In cell A4, I put...Human Resources. Something simple like that.

Please advise.


Thank You,
S
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
No. But you can put code into a Before Print event to generate headers from cell contents. What information do you want in headers? Is this going to be different for each sheet? If so, will the information be in the same cell location?
 
Upvote 0
Just text.

Something simple that will reference a cell and put that info in there. Things like

HR Report
PMO Status Update


...text strings like that.


THanks,
S
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top