You could use this code, right click in the bottom on the sheet name, choose view code and paste the code on the right bigger window, then click on the code and press play on the top:
Sub macro1()
Dim m As Integer, myMonths As String
Dim lastDay As Integer, d As Integer
Dim mName As String
Application.ScreenUpdating = False
myMonths = "JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC"
With ActiveWorkbook
m = InStr(myMonths, Right(.ActiveSheet.Name, 3)) \ 4 + 1
lastDay = Day(DateSerial(Year(Now), m + 1, 1) - 1)
mName = Right(.Sheets(1).Name, 3)
For d = 2 To lastDay
.Sheets(1).Copy After:=.Sheets(.Sheets.Count)
.ActiveSheet.Name = Format(d, "00-") & mName
.ActiveSheet.range("c1").formula = "='" & Format(d - 1, "00-") & mName & "'!c1+1"
Next d
End With
Application.ScreenUpdating = True
End Sub
Regards,
Antonio
Bookmarks