Hello,
I have a relatively simple userform to enter data into the worksheet.
One of textboxes is a textbox where the user needs to enter a date; unfortunately it seems to be transposing part of the date (seems like converting from a UK to a US date).
The condensed code is this:
So if I enter 11/08/2021 into the textbox, the cell on the sheet will show 08/11/2021 (if it's not obvious - I don't want this to happen...I want to enter a UK date and see a UK date on the sheet..).
The format of the cell shows it as the 'date' in the United Kingdom...
The funny thing is if you enter a date like 15/11/2021, then the date will still show as 15/11/2021.
Any ideas on how to solve this one?
thanks
I have a relatively simple userform to enter data into the worksheet.
One of textboxes is a textbox where the user needs to enter a date; unfortunately it seems to be transposing part of the date (seems like converting from a UK to a US date).
The condensed code is this:
VBA Code:
With shData
.Cells(newRow, Date1stmeeting).Value = TextBox3.Value
End With
So if I enter 11/08/2021 into the textbox, the cell on the sheet will show 08/11/2021 (if it's not obvious - I don't want this to happen...I want to enter a UK date and see a UK date on the sheet..).
The format of the cell shows it as the 'date' in the United Kingdom...
The funny thing is if you enter a date like 15/11/2021, then the date will still show as 15/11/2021.
Any ideas on how to solve this one?
thanks