VBA User form - UK Date Entry converts to USA Date Format

reelspike

New Member
Joined
Sep 23, 2024
Messages
1
Office Version
  1. 365
Hi,

I've created a userform with one of the text boxes to be used as a date entry. I am UK based and so use the format dd/mm/yyyy. However, whenever I send data from the userform to the data table, the date gets converted to US date format.

So, for example, day is 10th January 2024 - enter in userform as 10/01/2024. The date in the data table is shown as 01/10/024 - which is 1st October 2024!

I have seen plenty of examples online of this, and attempts to resolve this - but nothing seems to work for me! I am a very basic user!

Does anyone have any suggestions as to how to fix this?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,221,813
Messages
6,162,117
Members
451,743
Latest member
matt3388

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top