Sub MettreLesNoms()
Dim LAt As New ListeAléat, TCodes(), TNoms(), TRésu(), L&, P&
Rnd -1: Randomize 0.5
LAt.Init 2000
TCodes = Feuil4.[B5].Resize(Feuil4.[B2002].End(xlUp).Row - 4).Value
TNoms = Feuil2.[B2:B2001].Value
ReDim TRésu(1 To UBound(TCodes, 1), 1 To 1)
For L = 1 To UBound(TRésu, 1)
P = LAt.Pos(Mid$(TCodes(L, 1), 4) - 99)
TRésu(L, 1) = TNoms(P, 1)
Next L
Feuil4.[C5].Resize(UBound(TRésu, 1)).Value = TRésu
End Sub