G Guest Jan 12, 2005 #1 I want to show the contents of a cell in the page header when I print the document. Does anyone have a solution for this?
I want to show the contents of a cell in the page header when I print the document. Does anyone have a solution for this?
J Jason Morin Jan 12, 2005 #2 Private Sub Workbook_BeforePrint(Cancel As Boolean) ActiveSheet.PageSetup.CenterHeader = ActiveSheet _ ..Range("A1").Value End Sub --- Place this macro in the "ThisWorkbook" module. HTH Jason Atlanta, GA
Private Sub Workbook_BeforePrint(Cancel As Boolean) ActiveSheet.PageSetup.CenterHeader = ActiveSheet _ ..Range("A1").Value End Sub --- Place this macro in the "ThisWorkbook" module. HTH Jason Atlanta, GA