A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
the date in the worksheet formula bar still shows mm/dd/yyyy but thats working ok at the minute
Hi Adrian,
This suggests one of two things to me. That your Regional date setting might actually be m/d/y format or there is a bug in Excel whereby Windows is not recognizing your Windows date settings. The date displayed in the formula bar (and also when entering/editing a date in the Formula Bar) should always be in the regional date setting irrespective of the NumberFormat used in the worksheet cells to display the date. In my case it is always in d/m/y format in the Formula Bar even if I have NumberFormat set to m/d/y on the worksheet.
I'd like to ask you to check your Windows date settings. Please don't take any offence to me asking this or setting this out in step by step guidelines because I have come across situations previously where people have believed they have done something correctly but in fact they have followed the wrong procedure.
I can only provide these guidelines in English so you might need to interpret.
- In Windows 10, Select Windows icon (Bottom left of screen)
- Select Settings (Gear cog like icon)
- Select Time and Language
- Maximize the window (This is because the position of what what is displayed on the screen is dependent on the size of the window and also the left column might not be visible and it becomes difficult to explain the following)
- Select "Date, time & regional formatting" (Top right of screen when screen is maximized)
- Under "Regional format data" heading does it look like the following screen shot with the Short date in d/m/y format (where I have enclosed in the red line)?
I am not suggesting that you change your regional date settings if it is normally m/d/y because if your application needs to be run by another person then they would also need to change their date settings and that is not practical or advisable. However, if we are certain of your date settings then the project can be handled accordingly and using the VBA Split function and DateSerial function to convert a Text Date does that.