mtdewrocks
New Member
- Joined
- Apr 14, 2016
- Messages
- 20
I need some help with a listbox. I have gotten the very basics where I have the listbox showing up and I have the choices showing up. However, right now if I click on any of the potential options, nothing happens.
What I have my code doing is looping through survey responses - then if a region is blank on the survey, it pops up a msgbox and tells them the region is empty and that they need to input a region. Once they click okay, the userform shows up with the appropriate choices they can choose from.
I understand I need an event procedure for when they double click, but I am not sure what the code should be to recognize that they double clicked, and allow what they selected to be returned and entered into another variable.
I.e. Survey 1's region is blank. Please click okay and select the appropriate region.
' User selects "CHI"
' Then I want CHI to be returned and entered into my Region variable which is then put into the appropriate region cell based on what row the loop is on.
Any help?!
What I have my code doing is looping through survey responses - then if a region is blank on the survey, it pops up a msgbox and tells them the region is empty and that they need to input a region. Once they click okay, the userform shows up with the appropriate choices they can choose from.
I understand I need an event procedure for when they double click, but I am not sure what the code should be to recognize that they double clicked, and allow what they selected to be returned and entered into another variable.
I.e. Survey 1's region is blank. Please click okay and select the appropriate region.
' User selects "CHI"
' Then I want CHI to be returned and entered into my Region variable which is then put into the appropriate region cell based on what row the loop is on.
Any help?!