Here's a variation of the original, only this one changes the tab names of
the worksheet to Month Year, and has the header reference the tab name.
Create the macro the same way the other one was created.
Here's the code:
Sub ModifyTab()
Dim varYear As Variant
Dim ws As Worksheet
Dim wsStart As Worksheet
Dim strTab As String
varYear = InputBox("Enter the year to put into the " & _
"header: ", "Enter 4 Digit Year", Year(Date))
With Application
.ScreenUpdating = False
.StatusBar = "Currently busy, please wait..."
End With
Set wsStart = ThisWorkbook.ActiveSheet
If Len(Trim(varYear)) = 0 Then Exit Sub
If Not IsNumeric(varYear) Then
MsgBox varYear & " doesn't appear to be a valid year."
ModifyHeader
End If
For Each ws In ThisWorkbook.Sheets
strTab = ws.Name
strTab = Left(strTab, Len(strTab) - 4) & varYear
ws.Name = strTab
With ws
.Activate
.PageSetup.CenterHeader = "&A "
End With
Next ws
wsStart.Activate
Application.StatusBar = False
Set wsStart = Nothing
Set ws = Nothing
End Sub