I have two combo's in a form i want to hide the second box when a certain value is selected in the first box and show the combo again when another value is selected.
It's ok i have done it for anybody who would like to see the code here it is.
Sub Combo1_onChange()
If document.selection.combo1.value = "Hello" Then
document.selection.combo2.style.display = "none"
Else if document.selection.combo1.value = "Goodbye" Then
document.selection.combo2.style.display = "none"
Else if document.selection.combo1.value = "Help" Then
document.selection.combo2.style.display = ""
End if
End if
End if
End sub
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.