DRAGONman
2010-11-28 04:54:51 UTC
i want to make Date Format for TextBox (TextBox1) with the Normal Code at Excel VBA
what i did :
'Dim dDate As Date
dDate = DateSerial(Year(Date), Month(Date), Day(Date))
TextBox1.Value = Format(TextBox1.Value, "dd/mm/yyyy")
dDate = TextBox1.Value
----------------------------------------------------------------------------------------------------------------------
and its Work Good with format .. but when adding Code for Results Not Working :
Me.TextBox1 = Me.ComboBox1.Column(12)
'Dim dDate As Date
dDate = DateSerial(Year(Date), Month(Date), Day(Date))
TextBox1.Value = Format(TextBox1.Value, "dd/mm/yyyy")
dDate = TextBox1.Value
-----------------------------------------------------------------------------------------------------
Please Help ..
==================================================