Temporarily Change The Size of a ListBox

ercedwards

Board Regular
Joined
Apr 27, 2013
Messages
125
I have a data entry spreadsheet where users can make multiple selections in various cells.
In some cells I can use simple drop-down lists.
In other cells I need to allow the users to make multiple selections.

I know I can use ListBox with multiselect to do this but here is the challenge.

I want to put the Listbox in a cell (Column Width=14 Row Height=18)
Since Combox boxes don't allow multiselect here is what I'd like to do.
When the user goes to say cell C3 where my ListBox is, the ListBox would expand to a larger/useable size, the user clicks their choices
and then the ListBox returns to its usual size.

Is this possible with a macro by using something like a MouseOver?

Thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I think you would be better off with a button on the cell, sized to match the cell. Clicking the button should initialize a userform and the userform should have a multiselect listbox, with code to do what you want with the selections.
Ken
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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