Sub test()
'21=Janvier, 22=Février ... 32=Décembre
Call gendatas
Filtrer 32
End Sub
Private Sub Filtrer(Mois As XlFilterAllDatesInPeriod)
ActiveSheet.Range("$A$1:$A$2033").AutoFilter Field:=1, Criteria1:=Mois, Operator:=xlFilterDynamic
End Sub
Sub gendatas()
Cells.Clear
[A1] = "DATES": [A2] = "01/01/2018": [A2].DataSeries 2, 3, 1, 1, 44699, 0
End Sub