Advice to locate bug etc regarding date format in excel items

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,832
Office Version
  1. 2007
Platform
  1. Windows
Morning,
My pc date format is set at dd/mm/yyyy

In various worksheets i have codes relating to date.
Examples
1,Double click on cell in column A i then see 04/02/2019 as opposed to 02/04/2019

2,On a userform a text box is shown as 05/04/2019 i then transfer data from userform to worksheet.
The userform is still open so i can enter another set of data BUT i now notice that the text box date is now showing as 04/05/2019
The date has now changed from dd/mm/yyyy to mm/dd/yyyy,the date now stays as mm/dd/yyyy but if you close the form then open it again then it is shown as dd/mm/yyyy but as soon as you make a transfer it reverts back to mm/dd/yyyy

Any advise please
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Not sure if this will fix the problem but is your Locale set to "English (United Kingdom)"?
You can find Locale under Format Cells -> Number (Tab) -> Date (Category)
your PC may be showing as UK date but Excel might be referring to US or other date?
 
Upvote 0
Hi,
Yes,just checked and shown as English United Kingdom
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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