I have inserted it at the head of the code I posted before, it now looks like this:
Dim intMonth As Integer, intDay As Integer, intYear As Integer
Dim strDate As String
intYear = Year(2018)
For intMonth = 1 To 12
strDate = DateSerial(intYear, intMonth + 1, 0)
Debug.Print strDate
Next...