Hi,
I have created a userform to add data to a sheet.
I have a function to edit the data that I am entering, in case I made a mistake before I save it.
To display the data from the ListBox back to the TextBox to be edited I use The DblClick event and this code : Me.TextBox_Date = Me.ListBox_Data_Drop.List(Me.ListBox_Data_Drop.ListIndex, 11)
but the date display as the number value
I have tried to add this formatting on the Form Initialize but it do not work in this case. 'TextBox_Date.Text = Format(Date, "d/mm/yyyy h:mm AM")
I hope someone will help thank you in advance
I have created a userform to add data to a sheet.
I have a function to edit the data that I am entering, in case I made a mistake before I save it.
To display the data from the ListBox back to the TextBox to be edited I use The DblClick event and this code : Me.TextBox_Date = Me.ListBox_Data_Drop.List(Me.ListBox_Data_Drop.ListIndex, 11)
but the date display as the number value
I have tried to add this formatting on the Form Initialize but it do not work in this case. 'TextBox_Date.Text = Format(Date, "d/mm/yyyy h:mm AM")
I hope someone will help thank you in advance