Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ComboBox with Dates

Use the Click event to reformat it:

Private Sub ComboBox1_Click()
ComboBox1.Value = Format(ComboBox1.Value, "mm/dd/yyyy")
End Sub


the other alternative is to load it with code (rather than using the
listfillrange property) and load it with string values representing the
dates.

--
Regards,
Tom Ogilvy

"mxinter" wrote in message
...
Hi Guys,

Im adding a Combobox into a spreadsheet that has a
dropdown with several dates. When the date is selected, it
automatically changes that date into a "text" format. For
instance the user selects 19-Sept and the window
shows "37883" after being selected instead of "19-
Sept".....can someone help me figure out....how to change
the format.....or a workaround.

Thx all the way down from Mexico,

mxinter



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 - How to get cell referrences from dates in combobox Wee Willie Winkie Excel Discussion (Misc queries) 3 October 3rd 11 09:13 PM
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
ComboBox value? dksaluki Excel Discussion (Misc queries) 1 February 28th 08 03:24 AM
combobox value flow23 Excel Discussion (Misc queries) 0 April 26th 06 12:21 PM
format combobox in userform to accept dates Brad Excel Worksheet Functions 3 November 2nd 05 01:11 AM


All times are GMT +1. The time now is 04:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"