Bonjour,
Je cherche à faire une boucle du type:
For i = 1 To 8
If UserForm1.CheckBoxi = True Then
Cells(1, i).Value = UserForm1.CheckBoxi.Caption
End If
Next
Evidemment ça ne marche pas mais j'ai beau chercher, je ne trouve pas comment faire pour ne pas à avoir à écrire 8 boucle IF...
Si quelqu'un sait comment faire, je suis preneur,
Merci d'avance
Je cherche à faire une boucle du type:
For i = 1 To 8
If UserForm1.CheckBoxi = True Then
Cells(1, i).Value = UserForm1.CheckBoxi.Caption
End If
Next
Evidemment ça ne marche pas mais j'ai beau chercher, je ne trouve pas comment faire pour ne pas à avoir à écrire 8 boucle IF...
Si quelqu'un sait comment faire, je suis preneur,
Merci d'avance