Sub CButtonseltout_Click()
Dim X As Integer
For X = 1 To 60
Me.Controls("CB" & X) = True
Me.Controls("CB" & X).Caption = Sheets("Ftravail").Range("B" & X + 12).Value
Next X
End Sub
Sub CButtonselaucun_Click()
'Sélectionne tous les membres
Dim X As Integer
For X = 1 To 60
Me.Controls("CB" & X) = False
Next X
End Sub
Sub UserForm_Initialize()
Dim X As Integer
For X = 1 To 60
Me.Controls("CB" & X).Caption = Sheets("Ftravail").Range("B" & X + 12).Value
Next X
End Sub
Sub CommandButton1_Click()
Dim CB As String
Dim Num As Integer
Dim NumDB As Integer
Dim NumFN As Integer
NumDB = 1
NumFN = 60
For Num = NumDB To NumFN
CB = "CB" & Num
If Controls(CB).Value = False Then Controls(CB).Caption = ""
Next Num
End Sub