Incrementer un code avec des objets
Bonjour à tous
je voudrais incrémenter ce code pour
checkbox2, dtpicker2; etc...
checkbox3,dtpicker3; etc...
etc...
Est-ce possible?
Ben
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| Private Sub CheckBox1_Click()
If CheckBox1 = True Then
DTPicker1.Visible = True
DTPicker11.Visible = True
CheckBox11.Visible = True
ComboBox1.Visible = True
Repaint
ElseIf CheckBox1 = False Then
ComboBox1.Visible = False
SpinButton1.Visible = False
TB1.Visible = False
DTPicker1.Visible = False
DTPicker10.Visible = False
CheckBox11.Visible = False
Repaint
End If
End Sub |