Rupert Bennett
Active Member
- Joined
- Nov 20, 2002
- Messages
- 276
Hello,
Sorry if I am long winded, but I just want to state my problem clearly, so it may be easier to get a solution.
I am searching for a VBA solution for hiding and showing some userform controls based on the value in another control. There are 4 controls, among others, on the userform. There is cboIsGraded that can have a value of "Yes" or "No".
If the value in cboIsGraded is "No", I then want the txtGrade, txtGradingCo and txtGradingFee visible to be false, or true if cboIsGraded.Value is "Yes".
I have tried putting some code like:
If cboIsGraded.value = "NO" then txtGrade.visible = False. I also tried putting the code in the Change and Exit events of cboIsGraded, without any success.
Thanks in advance for your help.
Sorry if I am long winded, but I just want to state my problem clearly, so it may be easier to get a solution.
I am searching for a VBA solution for hiding and showing some userform controls based on the value in another control. There are 4 controls, among others, on the userform. There is cboIsGraded that can have a value of "Yes" or "No".
If the value in cboIsGraded is "No", I then want the txtGrade, txtGradingCo and txtGradingFee visible to be false, or true if cboIsGraded.Value is "Yes".
I have tried putting some code like:
If cboIsGraded.value = "NO" then txtGrade.visible = False. I also tried putting the code in the Change and Exit events of cboIsGraded, without any success.
Thanks in advance for your help.