CheckBox Selection
Solved/Closed
azmiismail
Posts
17
Registration date
Thursday 3 March 2011
Status
Member
Last seen
20 July 2011
-
8 Apr 2011 à 07:06
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 11 Apr 2011 à 08:53
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 11 Apr 2011 à 08:53
Related:
- CheckBox Selection
- The selection repelis - Download - Movies, series and TV
- Word checkbox symbol - Guide
- Insert multiple checkbox in excel - Guide
- I need to add more area to my existing lasso selection but when i draw again it replaces everything instead of adding. in photoshop how do i combine multiple lasso selections together? - Guide
- Audacity delete selection - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday 12 September 2010
Status
Contributor
Last seen
27 December 2022
555
11 Apr 2011 à 08:53
11 Apr 2011 à 08:53
Hi Azmiismail,
When you look at your userform in VB, right-click on Checkbox1, select view code and paste this code:
Right-click on Checkbox2, select view code and paste this code:
Now you will not be able to select both checkboxes; selecting one will deselect the other.
Best regards,
Trowa
When you look at your userform in VB, right-click on Checkbox1, select view code and paste this code:
Private Sub CheckBox1_Click() If CheckBox1 = True Then CheckBox2 = False End Sub
Right-click on Checkbox2, select view code and paste this code:
Private Sub CheckBox2_Click() If CheckBox2 = True Then CheckBox1 = False End Sub
Now you will not be able to select both checkboxes; selecting one will deselect the other.
Best regards,
Trowa