Date formatting in a combo box (Excel 2007)
I've placed an ActiveX ComboBox in a cell of Worksheet "A".
On Worksheet "B" I've populated a column, formatted as "Date", with 365 dates (created by entering a few and dragging to autofill the rest of the values.) The dates appear in DD/MM/YY format
as desired.
The ListFillRange property for the ComboBox on Worksheet "A" is set to the range on Worksheet "B", and it correctly populates the list when opened.
The dates in the list also appear in DD/MM/YY format as desired.
PROBLEM: Upon selecting a date from the list, it shows in the field as its serial date equivalent.
QUESTION: How can I make the selected date display to the user in DD/MM/YY format?
Keys to the Problem Date formatting in a combo box (Excel 2007)
hi
the default format for combo box is text so the combo box is stripping off the number format.
in design mode, right click the combo box then click view code.
paste this line .
Private Sub ComboBox1_Change()
ComboBox1.Value = Format(ComboBox1.Text, "dd/mm/yy")
End Sub
make any name or format changes as needed.
regards
FSt1
Make Sure that your Hardware Meets the System Requirements
Microsoft Windows Requirements :
- 1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor
- 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
- 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
This error can be due to some configuration requirements for you system. If your PC hardware is not up to par, then make sure you upgrade where necessary before continuing.
Recommended Method to Fix the Problem: Date formatting in a combo box (Excel 2007):
How to Fix Date formatting in a combo box (Excel 2007) with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your system. Run it, and it will scan your system. The junk files will be shown in the list.
2. After the scan is done, you can see the errors and problems which need to be fixed.
3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been removed.
Related: How to Update & Download NVidia GeForce 6100/nForce 420 WHQL Certified driver v.178.13,How to Update & Download NVidia GeForce 7600 GS Video Driver v.295.75 Certified,How Can I Update & Download NVidia GeForce 820M Driver v.344.48 WHQL,[Solved] Download NVidia GeForce GTX 560M VGA Driver v.296.17 Certified,Way to Update & Herunterladen NVidia GeForce GT 130M Video Treiber v.295.75 Certified,How to Update & Download SONY SVE14A1X1RH Realtek Ethernet Driver,Where to Download SONY SVS13A2W9ES Bluetooth Driver (Intel) v.2.6 - 2.6.23.40059,Best Way to Update & Download SONY VGN-CR203E Conexant HDAUDIO SoftV92 Data Fax Modem with SmartCP Setup Program v.7.62.0.50 driver,Best Way to Download SONY VGN-FE790G/N Wireless LAN Driver v.10.6.0.29,Method to Update & Download SONY VGN-NR31Z/S Firmware Extension Parser Device v.8.0.2.3,How to Fix Error 0x0000c1f5 SoluciĆ³n?,Error 0x80071a91 Win7 Fix Patch,Error 0x800ccc60 Windows Live Mail [Solved],Error Message 0x800ccc79 Outlook 2000 Fix,What is Error 0xc1ab0001?,[Answered] x64 saplugin dll,How to Fix Problem - Kb943729 Download?,Troubleshooting: Bccode D1 Error,Java Runtime Tech Support,Troubleshooting: ERROR NO SUCH GROUP Error
Read More: Tech Support: dead buttons on websites,Troubleshooting:deleting browsing history won't stop nor will canceling Error,Fast Solution to Problem: debug error mesage,Tech Support: Deleting Entire Pages With Content In MS Office Word 2010,How to Fix Problem - Custom tile image for shortcuts?
No comments:
Post a Comment