Private Sub UserForm_Initialize()
NomOnglet = ActiveSheet.Name & " " & [E7] & " - " & [L7]
Label1.Caption = "LISTES DES JOUEURS"
Label2.Caption = "Joueur 1 -------> " & [A9]
Label3.Caption = "Joueur 2 -------> " & [A11]
Label4.Caption = "Joueur 3 -------> " & [A13]
Label6.Caption = "Joueur 1 -------> " & [A9]
Label7.Caption = "Joueur 2 -------> " & [A11]
Label8.Caption = "Joueur 3 -------> " & [A13]
Label9.Caption = [E7]
Label10.Caption = [L7]
UserForm1.Label17.Caption = Sheets("Saisie").Range("A56").Value
OptionButton2 = 1: OptionButton1 = 1
End Sub
Private Sub OptionButton1_Change()
Dim t(), ta(), i As Long, x As Long, k As Long, z
On Error Resume Next
z = IIf(OptionButton1, Label9, Label10)
lbx1.Clear
x = 1
t = Feuil9.Range("c2:h" & Feuil9.Cells(Rows.Count, 1).End(3).Row).Value
For i = 1 To UBound(t)
If t(i, 1) = z Then
ReDim Preserve ta(1 To 6, 1 To x)
For k = 1 To 6
ta(k, x) = t(i, k)
Next k: x = x + 2: End If: Next i
lbx1.Column = ta
End Sub