Selected items in a listbox as text in specified cells

apurvaoka

New Member
Joined
Dec 11, 2013
Messages
6
Dear All,

I have searched for a resolution of this query a lot today and didnt find an answer; hence posting it here.

Theres a list of 5 items in my Sheet1. I want to create a listbox out of those items for selection. And then there are some formulae below that will work with reference to those selected items (vlookup, sumif etc).

I'd use data validation and prepare my data but with only one selection at a time. I want to have multiple selections possible and hence; listbox. I am new to VBA and do not know much about writing the codes.

If I can get the selected items in a listbox as text in specified cells; the rest of the formulae can work. My question; how can I get the selected items in a listbox as text in specified cells? (assume cells A1 to A5) What should be the code?

Any help is highly appreciated.
Regards,
Apurva Oka.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top