Change size of combobox dropdown column width

birdieman

Well-known Member
Joined
Jan 13, 2016
Messages
551
I have a combobox on a userform and the dropdown list contains only one column of two-letter codes (they come from the spreadsheet). The dropdown list is too wide (for appearances) -- how do I make the column size of the dropdown list narrower?

In the properties window, the "listwidth" is defaulting at 0 pt, and the "columnwidths" is defaulting with blank -- if those settings even matter.

thanks
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

birdieman

Well-known Member
Joined
Jan 13, 2016
Messages
551
thanks for responding steve

I changed it to various widths, and yes, it did narrow the column width (I never tried this before because I figured the default of 0 was the narrowest). However, when I changed the size to say 40, it puts a horizontal scroll bar at the bottom of the list. Since my list on only 2-digits wide, I do not need a horizontal scroll bar in the drop down list.

Any way to get rid of the horizontal bar?

thanks again
 
Upvote 0

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,849
Office Version
  1. 365
Platform
  1. Windows
Yeah change the column width too so it same as listwidth. Providing you only have one column that is.
 
Upvote 0

Forum statistics

Threads
1,191,204
Messages
5,985,278
Members
439,953
Latest member
suchitha

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
Top