Hello all, I've been writing a code to create a pricing sheet and based off the tool type selected in a userform we offer about 7 of our 15 kinds of coatings along with that tool type. So once a tool is selected I want the non applicable coatings to dissappear from my userform. I've managed to make the coatings dissapear, but if a different tool is then selected, the coatings do not reappear, I was hoping someone might have a couple ideas to make the selected options reappear after deselection, I've tried it 2 different ways, once with a while function which just crashed excel. Any help/ ideas is appreciated, Thanks!
Here is my code.
Private Sub OptionButton1_Click()
OptionButton8.Visible = False
End Sub
The second variation that did not work at all
Private Sub OptionButton1_Click()
While OptionButton1 = True
OptionButton8.Visible = False
Wend
End Sub
Bookmarks