datavalmultiselectproducts01

Figure A

It’s hard enough to select one item from a long drop down list – how can we make it easier to select multiple items for a cell?

In the screen shot (Figure A), the worksheet has code that lets you select multiple item from the drop down list. Each new item is added to the cell, instead of replacing the previous selection.

Use a ListBox

To see more of the list, Figure B, and select multiple items at once, you can use a ListBox, embedded in a UserForm. When you click OK, all of the selected items are entered in the cell, separated by commas.

This technique works for drop down lists that are based on a named range, such as MonthList, or AllProducts.

Really Long List

multiselectlistbox03

Figure B

However, if your list has thousands of items, Figure C, it can take a while to scroll through a ListBox too. So, to make it easier to check items in the list, I’ve created a new sample file, based on the previous ListBox file.

  • It has a combo box at the top of the UserForm, and you can start typing an item name there. When the correct item shows up, click Add, or press the Enter key, to add it to the list.
  • You can also use the ListBox, to check or uncheck items.
  • When you’ve finished selecting items, click OK, to add all the items to the cell.
datavallistboxcombobox01

Figure C