chuckles1066
Banned
- Joined
- Dec 20, 2004
- Messages
- 372
I have a userform with some checkboxes which relate to answers to questions.
Question 2 is related to question 1 insofar as if the user clicks NO to question 1, then question 2 becomes irrelevant.
No problem, I have a routine that sets both checkboxes associated with question 2 to enabled=false if NO is answered to question 1.
And if the user changes his/her mind and then clicks YES to question 1, both checkboxes associated with question 2 are set to enabled = true.
It all works well except.............if there is a tick in either of the question 2 checkboxes and those checkboxes are subsequently set to enabled=false, the ticks remain (albeit greyed out).
How can I clear the tick before setting enable to false?
Question 2 is related to question 1 insofar as if the user clicks NO to question 1, then question 2 becomes irrelevant.
No problem, I have a routine that sets both checkboxes associated with question 2 to enabled=false if NO is answered to question 1.
And if the user changes his/her mind and then clicks YES to question 1, both checkboxes associated with question 2 are set to enabled = true.
It all works well except.............if there is a tick in either of the question 2 checkboxes and those checkboxes are subsequently set to enabled=false, the ticks remain (albeit greyed out).
How can I clear the tick before setting enable to false?