I have a form created through VBA in which I need the user to enter the delivery date in the "dd/mm/yyyy" format.
I need the date in the same format to be uploaded to the Excel sheet in the backend, which is linked to the form columns.
However, in the Excel file, the format is automatically changed to the "mm/dd/yyyy" format.
The date formatting in the Excel file is correct. I have cross checked the custom format for the column which stores the dates.
I have passed the following code behind the delivery date column in the form.
Private Sub Del_Date_AfterUpdate()
Del_Date = Format((Del_Date), "dd/mm/yyyy")
End Sub
Date column in the form has a valid date entered for reference