I have a userform that has a couple of comboboxes. The user selects a value from combobox1 and then depending on that selection a list shows in combobox2. I want to have textboxes show up depending on the value from combobox2. Sometimes 1 textbox(textbox1) and 1 label(label1). Sometimes 2 textboxes(textbox1 and textbox2) and 2 labels(label1 and Label2). I can get it to work somewhat by making the labels and textboxes visible but I found if the user makes a selection to combobox2 and has 2 textboxes appear but then changes his mind and selects a value that only has 1 textbox the second one is always visable with the old values. How can I reset the values for the textboxes/labels when combobox2 is changed.
Let me add that I also have values for combobox2 that don't require any additional textboxes or labels so if the user selects one of those then the label1 and 2 and textboxes 1 and 2 should be disabled and not visible.
Hope I didn't make this too confusing.
Thanks,
B
Bookmarks