Dim n1 As Byte, n2 As Byte, n3 As Byte, n4 As Byte
n1 = [WW]: n2 = [XX]: n3 = [YY]: n4 = [ZZ] '4 cellules à adapter
'------
Set MAIL = Cells(lig + 1, 1).Resize(n1, i)
Set TELAM = Cells(lig + 1 + n1, 1).Resize(n2, i)
Set TELPM = Cells(lig + 1 + n1 + n2, 1).Resize(n3, i)
Set AUTRE = Cells(lig + 1 + n1 + n2 + n3, 1).Resize(n4, i)
Set TOUT = Cells(lig + 1, 1).Resize(n1 + n2 + n3 + n4, i)
For j = 1 To h
Select Case j
Case Is <= n1: Cells(lig + j, i) = ChercheNom(tablo, plage, MAIL, TOUT)
Case Is <= n1 + n2: Cells(lig + j, i) = ChercheNom(tablo, plage, TELAM, TOUT)
Case Is <= n1 + n2 + n3: Cells(lig + j, i) = ChercheNom(tablo, plage, TELPM, TOUT)
Case Is <= n1 + n2 + n3 + n4: Cells(lig + j, i) = ChercheNom(tablo, plage, AUTRE, TOUT)
Case Else: Cells(lig + j, i) = ChercheNom(tablo, plage)
End Select
Next