Is there a way to deactivate a text box based on a value selected in a combo box? I have a combo box that asks for a "yes" or "no" value. If the value is "no", I want to deactivate the text box below it. Is this possible? Thank you!
I would use a check box. But let's use your combo.
Private Sub yourCombo_Change()
If me.cboYourcombo = "Yes" then
me.txtYourTextbox.visible = true
Else
me.txtYourTextbox.visible = false
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.