Cheers xlnitwit, it works a treat!
I've merged it with an event driven macro I use to time stamp the footer with the last saved detail. How can I tweak it so that the font (in the header only) is set to bold Arial size 10?
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, _
Cancel As Boolean)
Dim sht As Worksheet
Dim sheetNames
Dim headerText
Dim n As Long
sheetNames = Array("Spend", "Savings", "Sector", "Customer & Supplier", "MI")
headerText = Array("Spend Analysis", "Savings Position", "Sector Analysis", "Customer && Supplier Analysis", "MI Position")
For Each sht In Sheets
sht.PageSetup.LeftFooter = _
"Last Saved: " & Format(Date, "mmmm d, yyyy") & " " & Time
Next
For n = LBound(sheetNames) To UBound(sheetNames)
Sheets(sheetNames(n)).PageSetup.CenterHeader = "Technology Pillar Performance Report " & _
Format$(Sheets("Lookup").Range("Lookup.MISOMonthSelected").Value, "mmmm yyyy") & " - " & headerText(n)
Next n
End Sub
Bookmarks