Combo Box displaying a date (is killing me!)

keith

Board Regular
Joined
Mar 3, 2002
Messages
88
Does anyone know how to change the format of a combo box? I have a combo box that gets its menu from a "listfillrange". The list is a list a dates like this "08/22/2002". However when you choose an item from the list excel automatically displays "37490" in the combobox...

thanks in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

keith

Board Regular
Joined
Mar 3, 2002
Messages
88
i tried putting "mm/dd/yyyy" in the text property but it didn't work. This is a combobox (control) embedded in the worksheet. I went to "view code" and added
"ComboBox1.Text = Format(ComboBox1.Text, "mm dd yyyy")

and it now shows 5/7/1900 for every entry I pick from the source list.. what I need is Excel to stop trying to do anything with the date and just display exactly what I pick from the list..

thanks
 

Forum statistics

Threads
1,144,272
Messages
5,723,433
Members
422,497
Latest member
dougy99

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