Format Display in ComboBox

K

King

Hello-

I have a combobox that is pulling a rowsource from a named range of dates
(1/12003, 1/2/2003, etc). The list displays fine, but when you select one
it shows up in the box as the value of the date (eg 37712).

Thanks
 
T

Tom Ogilvy

Private Sub Combobox1_Click()

Combobox1.Value = Format(cDate(combobox1.Value),"m/d/yyyy")

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top