I have the following code which is bring up todays date, but is shows 11/03/2017 for today instead of 03/11/2017. My code so far is shown below but i still cannot get it to display in UK format. Can anyone tell me where i am going wrong
Many thanks
Many thanks
Code:
Private Sub UserForm_Initialize()
'default values for user form
With txtDate
.Text = "dd/mm/yyyy"
.SetFocus
.SelStart = 0
.SelLength = Len(.Text)
End With
Me.txtDate = Date
txtDate.Value = Format(CDate(txtDate), "dd/mm/yyyy")