VBA Combo Box Display of selected item

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,356
I have a Combo Box which lists three columns. It's actually 8 columns, but the middle five are set to width zero in the combo box. When I select an item, the display window shows only the value in the left hand column. This column is sometimes blank and so if I select one of these rows, the selection window shows nothing at all.

Is it possible to display more than just the first column or am I wasting my time trying?
 
Hi Norrie,

Thanks for your observations. I really appreciate it. I don't use combo boxes that much. I was just experimenting today to shoe-horn my data into one.

I'm intrigued by your comment that I shouldn't use RowSource. I thought that was what it was for. I don't want to populate it via a loop at there are too many rows. Can you tell me what other method I should use.

I tried various tricks to populate the combo box with noncontiguous ranges, but they all failed. I would be very pleased to hear how it should be done.
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

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