date format changes while transferring data to excel sheet from userform

spycein

Board Regular
Joined
Mar 8, 2014
Messages
135
Office Version
  1. 365
Platform
  1. Windows
Hi everyone... in a userform textbox if i enter a date format dd/mm/yy and transfer to excel sheet, it saves as mm/dd/yy.

Kindly help. I need to save the data as origin i.e. dd/mm/yy.

Thanks.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi Spycein,

You can make use of month, date and year formula to fix this. While user enters date in userform use these 3 formula to extract the date and finally merge in the excel.

thanks
 
Upvote 0
Check that the regional settings on your PC aren't set to US format.

Start --> Control Panel --> All Control Panel Items --> Region and Language --> Formats

Once you've adjusted the regional settings, restart Excel and try your UserForm again.

Let me know what happens...
 
Upvote 0
Hi vog... i did not get that.. could you please explain with an example..
Thanks
 
Upvote 0
Hi Anand... did not understand the process.. could you please elaborate with an example...
Thanks alot
 
Upvote 0

Forum statistics

Threads
1,216,759
Messages
6,132,558
Members
449,735
Latest member
Gary_M

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