Return multiple values from Worksheet listbox

gbacon

New Member
Joined
Nov 13, 2008
Messages
1
I am looking for help with a Excel macro that would first, clear any current selected values in a listbox, then return multiple slected values from a worksheet (not user form) listbox and place the concatenated values into a specific cell on the worksheet.

I am using Excel 2007. I create the list box by Selecting the Developers TAB, Insert a ListBox (Form Control, not Active-X) by dragging the ListBox onto the current worksheet. I then populate the contents of the ListBox by selecting with RMB and setting the Format-Control TAB entries (Range of cells from Sheet2, selecting the "Extend" selection type.

Ideally, this macro would be run upon the user selecting a Form-Control Button
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,215,583
Messages
6,125,665
Members
449,247
Latest member
wingedshoes

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