ComboBox - Link Cell that Accumulates

L

LaRana!

Hello,

I want to create a combo box that accumulates the chosen options from the
dropdown list into the linked cell. In other words, the destination cell
needs to keep as many options as the user chooses from the drop down (with
out deleting its contents). example:

- Link filled list: option1, option2, option 3
- The user chose option1 & option2
- The destination cell in the combo box should display: option1 option2.

Can this be done?

Thanks,
 
K

krcowen

EddieV

I don't think you can do it by simply using the linked cell property;
but, you can do it with a simple line of code. In the combobox_change
event just put:

Private Sub ComboBox1_Change()
Cells(1, 1).Value = Cells(1, 1).Value & ComboBox1.Value
End Sub

where Cells(1,1) is replaced by the cell row and column to which you
want to append any combobox selections.

Good luck.

Ken
Norfolk, Va.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top