Sub transferer()
Dim TabExtra() As Variant
Dim tabBDD() As Variant
With Sheets("EXTRA")
fin = .Range("A" & .Rows.Count).End(xlUp).Row
TabExtra = .Range("A2:C" & fin).Value
End With
With Sheets("BDD")
fin = .Range("A" & .Rows.Count).End(xlUp).Row
tabBDD = .Range("A2:D" & fin).Value
End With
For i = LBound(TabExtra, 1) To UBound(TabExtra, 1)
For j = LBound(tabBDD, 1) To UBound(tabBDD, 1)
If TabExtra(i, 1) = tabBDD(j, 1) And TabExtra(i, 2) = tabBDD(j, 2) Then 'on a une correspondance Date + nom
tabBDD(j, 4) = TabExtra(i, 3) 'on copie la colonne C dans la colonne D
Exit For
End If
Next j
Next i
With Sheets("BDD")
.Range("A2").Resize(UBound(tabBDD, 1), UBound(tabBDD, 2)) = tabBDD
End With
End Sub