Re,
Si il faut appliquer ce code sur les feuilles de chaque mois....et qu'elles sont toutes configurées de la même façon...
A tester:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim wsh
wsh = Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", _
"Septembre", "Octobre", "Nvembre", "Décembre") 'les feuilles à traiter
If Not IsError(Application.Match(Sh.Name, wsh, 0)) Then
If Not Application.Intersect(Target, Sh.ListObjects(1).DataBodyRange) Is Nothing Then
cancel = True
If Target.Count > 1 Then Exit Sub
'If Target.Value = "" Then Exit Sub
If Target.Row = Sh.ListObjects(1).ListRows.Count + 4 Then Sh.ListObjects(1).ListRows.Add
End If
End If
End Sub
- Code à placer dans le module ThisWorkBook...
Cordialement,