![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 24
|
I've created a dropdown box (using the control toolbar), and linked the data to a range of dates. When I scroll through the values in the box they look correct, but when I select a date and move on to another cell the date shows up as 37283 (or similar). Where do I set the format for the value in the box?
Thanks, Will |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
Try this code for the combo box
Private Sub ComboBox1_Change() ComboBox1.Value = Format(ComboBox1.Value, "m/d/yy") End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|