Salut,
Tu peux essayer avec ceci, pas forcément optimisé, mais ça fonctionne
Sub MàJ_Noms()
Dim ListeNumNOM As Object
Dim Cel As Range
Dim Numero As String, Prenom As String
Dim Col As Long, Lig As Long
Dim NbPartie As Integer
' Créer un dictionnaire des numéros et noms
Set ListeNumNOM = CreateObject("Scripting.Dictionary")
For Each Cel In Sheets("Partie 1").Range("A16:A27")
Numero = Trim(CStr(Cel.Value))
Prenom = Trim(CStr(Cel.Offset(0, 1).Value))
If Numero <> "" And Prenom <> "" Then
ListeNumNOM(Numero) = Prenom
End If
Next Cel
' Modifiier les valeur dans toutes les feuilles
For NbPartie = 1 To 4
With Sheets("Partie " & NbPartie)
For Col = 1 To 4
For Lig = 2 To 4
Set Cel = .Cells(Lig, Col)
Numero = Trim(CStr(Cel.Value))
If Numero <> "" Then
If ListeNumNOM.Exists(Numero) Then
Cel.Value = ListeNumNOM(Numero)
End If
End If
Next Lig
Next Col
End With
Next NbPartie
A+