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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,224,738
Messages
6,180,673
Members
452,993
Latest member
FDARYABEE

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