Sub teshjkt()
Application.ScreenUpdating = False
Sheets("Nom").Activate
Dim i As String
Dim rng As Range
i = 2
Sheets("Nom").Activate
Sheets("Nom").Cells(i, 1).Select
Do While Sheets("Nom").Cells(i, 1) <> ""
Sheets("Nom").Activate
Sheets("Nom").Cells(i, 1).Select
Selection.Copy
Sheets("Synthèse").Activate
Set rng = Sheets("Synthèse").Cells.Find(what:=Sheets("Nom").Cells(i, 1), After:=ActiveCell, LookIn:=xlValues, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlPrevious, MatchCase:=False)
If Not rng Is Nothing Then rng.EntireRow.Copy Else Sheets("Nom").Cells(i, 1).Copy
Sheets("Resultat").Activate
Sheets("Resultat").Cells(i, 1).Select
ActiveSheet.Paste
Application.CutCopyMode = False
i = i + 1
Selection.Offset(1, 0).Select
Loop
Application.ScreenUpdating = True
End Sub