brianfosterblack
Active Member
- Joined
- Nov 1, 2011
- Messages
- 251
I have a problem in my userform that my selection in listbox2 determines if listbox3 or listbox4 becomes visible. However if after listbox1 I click on listbox3 or 4 (whichever is visible) I get an error in my code because I should have selected in listbox 2 which listbox is actually visible.
Can I remove any selection accidently made in listbox3 or 4 and force setfocus onto listbox2 first when I click off listbox1 or can I in the userform code, force that all 6 listboxes must be selected in order 1 to 6 with the option that either listbox3 or listbox4 will be hidden depending on my selection in listbox 2
Can I remove any selection accidently made in listbox3 or 4 and force setfocus onto listbox2 first when I click off listbox1 or can I in the userform code, force that all 6 listboxes must be selected in order 1 to 6 with the option that either listbox3 or listbox4 will be hidden depending on my selection in listbox 2