Month wise Days
Private Sub CommandButton1_Click() Dim mon As Integer j = 1 For i = 1 To 12 Cells(1, i).Value = MonthName(i, True) r = Day(DateSerial(2016, j + i, 0)) Cells(2, i).Value = r Next End Sub