The original question is located here (AWF)
I'll repeat here if needed.
Have you a solution for this ?
Thank you !
I'll repeat here if needed.
Have you a solution for this ?
Thank you !
'In the form module
Private Sub DataComanda_AfterUpdate()
Me.DataComanda.DefaultValue = EnglishDate2(Me.DataComanda)
End Sub
'and in a regular module:
Public Function EnglishDate2(UzualData) As Double
Dim dt As Date
dt = Month(UzualData) & "/" & Day(UzualData) & "/" & Year(UzualData)
EnglishDate2 = CDbl(dt)
End Function
Comment