bullabulla
New Member
- Joined
- Mar 20, 2009
- Messages
- 3
I have a sheet with 8 different listboxes which I have built by using the "View - toolbars - form - listbox " menu in the upper left corner. I have them placed after each other to the left in the sheet.
In one of the listboxes, for example, I have set the "input range" to 10 different countries lined up in cell M1-M10.
"Selection type" is set to multi meaning that the user can choose several different options in the listbox.
In the other 7 listboxes I have the input ranges placed in column N, O, P, Q, R, S, T. The length (number of rows) that the input ranges take up varies from listbox to listbox. All listboxes are multi selection types.
Now assume that a user makes his choices and selects some options in each of these boxes 8 boxes...
I need a macro that loops through all these different listboxes (no matter how many they are because I will probably have to add some more soon) and writes the indexes (or actual values) in the G-column when the code finds an option which has been selected by the user.
Hope you can help me out and let me know if something is unclear.
In one of the listboxes, for example, I have set the "input range" to 10 different countries lined up in cell M1-M10.
"Selection type" is set to multi meaning that the user can choose several different options in the listbox.
In the other 7 listboxes I have the input ranges placed in column N, O, P, Q, R, S, T. The length (number of rows) that the input ranges take up varies from listbox to listbox. All listboxes are multi selection types.
Now assume that a user makes his choices and selects some options in each of these boxes 8 boxes...
I need a macro that loops through all these different listboxes (no matter how many they are because I will probably have to add some more soon) and writes the indexes (or actual values) in the G-column when the code finds an option which has been selected by the user.
Hope you can help me out and let me know if something is unclear.
Last edited: