terrafutan
New Member
- Joined
- Nov 1, 2005
- Messages
- 4
Hi all. I need some help with dates and Excel.
My short date regional format is dd/mm/yyyy.
I have a form with a textbox that initialises to yesterday and can be modified. 'TextBox64.Value = Format(Date - 1, "dd/mm/yyyy")'
When saving the form data to a sheet the following happens:
1. Where dd>12 it is captured correctly
2. Where dd<12 saves the dd as the month... it's driving me crazy.
For example today it populates 16/08/2023, I modify it four days ago, the 12/08/2023 and it's suddenly we're in December as the sheet is populated as 08/12/2023.
What am I missing?
My short date regional format is dd/mm/yyyy.
I have a form with a textbox that initialises to yesterday and can be modified. 'TextBox64.Value = Format(Date - 1, "dd/mm/yyyy")'
When saving the form data to a sheet the following happens:
1. Where dd>12 it is captured correctly
2. Where dd<12 saves the dd as the month... it's driving me crazy.
For example today it populates 16/08/2023, I modify it four days ago, the 12/08/2023 and it's suddenly we're in December as the sheet is populated as 08/12/2023.
What am I missing?