Je te remercie!!
Cela me convient en partie, ta macro ne prend pas en compte le format, j'aimerais qu'il prenne en compte le format de police des chiffres.
Est ce possible ?
Merci
Pour info, j'ai programmée cette macro mais elle ne ffonctionnait que partiellement et ne prenait pas en compte les formats.
Ta macro a déjà le mérite d'être plus simple et plus efficiente :
Sub importdonnéefeuille()
Dim cel As Range
Sheets("1").Select
With Sheets("1")
For I = 2 To .Range("A" & Rows.Count).End(xlUp).Row
Set cel = Sheets("2").Range("B:B").Find(What:=Range("A:A" & I), LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False)
If Not cel Is Nothing Then .Range("B" & I) = cel.Offset(0, 1)
Set cel = Nothing
Next I
End With
End Sub