brianfosterblack
Active Member
- Joined
- Nov 1, 2011
- Messages
- 251
In my UserForm in listbox 2 I have listed "Retainer" and "AdHoc"
On exiting Listbox 2, either listbox 3 or Listbox 4 is hidden (Listbox 4 is placed on top of listbox 3) and you then select an item in the visible Listbox.
The problem I am having is that this works fine on leaving Listbox 3 if I press the tab key sas it hides the appropriate listbox and I can just select the correct item. But if I make a mistake and after selecting the item in Listbox 2 I just Click on the next Listbox and it has to be hidden because of my selection in Litbox2, it causes an error
Hope this makes sense. Can I prevent someone from leaving Listbox 2 if they do not press the Tab key or is there another solution.
On exiting Listbox 2, either listbox 3 or Listbox 4 is hidden (Listbox 4 is placed on top of listbox 3) and you then select an item in the visible Listbox.
The problem I am having is that this works fine on leaving Listbox 3 if I press the tab key sas it hides the appropriate listbox and I can just select the correct item. But if I make a mistake and after selecting the item in Listbox 2 I just Click on the next Listbox and it has to be hidden because of my selection in Litbox2, it causes an error
Hope this makes sense. Can I prevent someone from leaving Listbox 2 if they do not press the Tab key or is there another solution.