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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,025
Members
448,543
Latest member
MartinLarkin

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