Sub djdjsfsdfdsd()
Dim Dt, rg2delete, Records_Found As Boolean
Dt = Now
With Range(Range("B1"), Range("B65536").End(xlUp))
'.AutoFilter Field:=1, Criteria1:="<=" & Format(Dt, "dd-mmm-yyyy"), Operator:=xlAnd
'essayer d'octroyer au critère le format de la 1° cellule de la base
.AutoFilter Field:=1, Criteria1:="<=" & Format(Dt, .Item(1).NumberFormat), Operator:=xlAnd
'détermination de la plage de la base filtrée sans son en-tête
Set rg2delete = Range("_FilterDataBase").offset(1, 0).Resize(Range("_FilterDataBase").Rows.count - 1)
'si le compte du nombre d'enregistrements trouvés > 0, alors la variable Records_Found=true
Records_Found = (Application.WorksheetFunction.Subtotal(3, rg2delete.Columns(1)) > 0)
If Records_Found Then rg2delete.EntireRow.Delete
'enlever le filtre
.AutoFilter
End With
End Sub