Bonjour theolp
Vois ce code
Sub Remonter()
Dim ind As Long, DLig As Long
Dim sh As Worksheet
Set sh = Sheets("Feuil1") 'ta feuille
DLig = sh.Range("B65536").End(xlUp).Row
For ind = 2 To DLig
If DateValue(sh.Cells(ind, 2).Value) > Date + 10 Then
sh.Rows("4:4").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
sh.Rows(ind + 1 & ":" & ind + 1).Cut sh.Rows("4:4")
sh.Rows(ind + 1 & ":" & ind + 1).Delete
MsgBox "Ligne " & ind & " déplacée : " & sh.Cells(4, 2).Value
Exit For
End If
Next
End Sub
Mais j'ai arrêté au premier cas trouvé, sinon ta première ligne détectée ne se trouvera plus en ligne 4...à toi d'aménager selon ton contexte
Bye