I've got a macro that formats the font and color of header and footer elements. I would like to use "mmmm yyyy" for the date in the footer. The problem is I can't seem to figure out how to define the font and color for the date. My code is below.
Sub HeaderFooter()
'
' HeaderFooter Macro
' Inserts header and footer information.
'
'
ActiveSheet.PageSetup.LeftFooter = "&""Calibri,Regular""&11&K00-034&P I Energistics Laboratory"
ActiveSheet.PageSetup.LeftHeader = "&""Calibri,Regular""&11&K00-034Sound Power Calculations : AHRI 880-2008"
ActiveSheet.PageSetup.RightFooter = Format(Date, "mmmm yyyy")
End Sub
Bookmarks