Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to enter the value from a cell into a header. For Example. I
want the header to say "Schedule C2 Attachment A" with the value of cell C2 displayed within the header. I found the below code but do not know if its possibe to adjust for what I need. Private Sub Workbook_BeforePrint(Cancel As Boolean) Sheets("Sheet1").PageSetup.CenterHeader = Sheets("Sheet1").Range("A1").Value End Sub Thanks in advance for any help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell reference in header | Excel Worksheet Functions | |||
reference cell in header | Excel Worksheet Functions | |||
cell reference in header | Excel Discussion (Misc queries) | |||
cell reference in header row | Excel Discussion (Misc queries) | |||
Cell Reference in Header | Excel Discussion (Misc queries) |