K KWhamill Jan 11, 2010 #1 is it possible to display the ONLY the year in the Header/footer? if any body knows that would be great
is it possible to display the ONLY the year in the Header/footer? if any body knows that would be great
D Dave Peterson Jan 11, 2010 #2 You could type it in. Or you could use a macro... Option Explicit Sub testme01() With Worksheets("Sheet1") .PageSetup.CenterHeader = Year(Date) 'any more stuff End With End Sub
You could type it in. Or you could use a macro... Option Explicit Sub testme01() With Worksheets("Sheet1") .PageSetup.CenterHeader = Year(Date) 'any more stuff End With End Sub
G Gord Dibben Jan 11, 2010 #3 Why not just type 2010 in a custom footer? You cannot format &Date without using VBA Sub YearInFooter() With ActiveSheet .PageSetup.CenterFooter = Format(Date, "yyyy") End With End Sub Gord Dibben MS Excel MVP
Why not just type 2010 in a custom footer? You cannot format &Date without using VBA Sub YearInFooter() With ActiveSheet .PageSetup.CenterFooter = Format(Date, "yyyy") End With End Sub Gord Dibben MS Excel MVP