Private Sub OptionButton1_Click()
Masque Range("6:26"), 1, OptionButton1.Caption, 1
End Sub
Private Sub OptionButton2_Click()
Masque Range("3:5,9:26"), 1, OptionButton2.Caption, 1
End Sub
Private Sub OptionButton3_Click()
Masque Range("3:8,12:26"), 1, OptionButton3.Caption, 1
End Sub
Private Sub OptionButton4_Click()
Masque Range("3:11,15:26"), 1, OptionButton4.Caption, 1
End Sub
Private Sub OptionButton5_Click()
Masque Range("3:14,18:26"), 1, OptionButton5.Caption, 1
End Sub
Private Sub OptionButton6_Click()
Masque Range("3:17,21:26"), 1, OptionButton6.Caption, 1
End Sub
Private Sub OptionButton7_Click()
Masque Range("3:20,24:26"), 1, OptionButton7.Caption, 1
End Sub
Private Sub OptionButton8_Click()
Masque Range("3:23"), 1, OptionButton8.Caption, 1
End Sub
Private Sub UserForm_Initialize()
OptionButton1 = False
Masque Range("2:26"), 0, "", 0
End Sub
Private Sub Masque(Zone As Range, Etat As Boolean, Valeur$, Optional Ferme As Boolean)
Application.ScreenUpdating = False
Zone.EntireRow.Hidden = Etat
[a1] = Valeur
If Ferme Then Unload Me
Application.ScreenUpdating = True
End Sub