Ci-joint le fichier MAJ et ci-après les macros correspondantes.
Les cellules A6 et A19 sont nommées et servent de référence pour l'insertion de nouvelles cellules.
Sub AjoutLigneRWT()
[VBA_tbl2].Offset(1, 0).EntireRow.Insert xlShiftDown, xlFormatFromRightOrBelow
With [VBA_tbl2]
.Offset(2, 0).Resize(1, 11).AutoFill Destination:=.Offset(1, 0).Resize(2, 11), Type:=xlFillDefault
End With
End Sub
Sub AjoutLigneRWM()
[VBA_tbl1].Offset(1, 0).EntireRow.Insert xlShiftDown, xlFormatFromRightOrBelow
With [VBA_tbl1]
.Offset(2, 0).Resize(1, 14).AutoFill Destination:=.Offset(1, 0).Resize(2, 14), Type:=xlFillDefault
End With
End Sub