Multiple choice dropdown

Solved
Marlj Posted messages 58 Registration date   Status Membre Last intervention   -  
Marlj Posted messages 58 Registration date   Status Membre Last intervention   -
Hello,

I would like to have a cell with a drop-down list where more than one choice can be checked.
I looked on the forums and found examples given for a specific file, but I can't adapt them to my file, and there are no explanations on how to do it.
For example, if my workbook has a sheet called Company and in column A, I enter the name of a company, in column B, I would like to enter the job openings available in that company. There could be more than one (secretary, janitor, etc.). I have another sheet called List that contains a list of jobs (this list is named "Jobs"). So how should I proceed? Is it only VBA?

Thank you very much for your help (and it will surely help others who are looking)

Configuration: Windows / Internet Explorer 11.0

7 réponses

The_boss_68 Posted messages 959 Registration date   Status Membre Last intervention   182
 
Hello,

It's a bit complicated to explain out of the blue,
If you only copy the macro, it won't work, you need to copy listBox1 too, did you do that?? .... if not.... open the file I provided for you in post 16, once it's open click at the top on the Developer tab, then on Design Mode and you'll see the full list that you can copy and paste into your personal file, and for the rest I'll let you discover. Just in case, I'm here for you

Regards
4
Marlj Posted messages 58 Registration date   Status Membre Last intervention   21
 
Wow!, it works!!! You made my day... my week... my month!!! I'm going to mark it as resolved, but one last question:

If I do it in a new file, I'll paste your VBA, but can I just insert a ListBox (I saw how) or do I also need to paste YOUR ListBox, in other words, is there something special about your ListBox?

Thanks again, it's going to be very useful for me... and maybe for others too.

Best regards
0
The_boss_68 Posted messages 959 Registration date   Status Membre Last intervention   182
 
Hello,

Actually, it's not my list box but the one I already took from Boisgontier's file in post 16; however, that doesn't stop you from creating a list box if you are able to. Here, in this case, it was a copy-paste to make things easier.

Regards
0
Marlj Posted messages 58 Registration date   Status Membre Last intervention   21
 
Thank you very much!

Best regards
0