zepold
asked on
Cannot change the date format in a cell.
A user brought me a spreadsheet that she inherited from a former employee. In this spreadsheet, the user types in a date value as m/d/yyyy. The spreadsheet converts this to a numerical date. Example: 2/9/2011 will show as 40583. No matter what kind of format we use, (either Date or Custom), we still get the same result. The formula bar shows the date value as 2/9/2011 and if you double click in the cell, it will show the value 2/9/2011. As soon as you remove the focus from this cell it goes back to 40583. Does anyone know what is going on or how to change the cell so that it shows the date format as m/d/yyyy?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Nice one, Barry. That effect was news to me.
Shortcut for barry's comment is Ctrl+`(~ key just below Esc key)
ASKER
That did it!! Thanks for your help.
Any possibility that there's an Event macro in the file?
It would be good if you could post the file here. If there's confidential information then delete all the data except the cell in question and, assuming you still have the problem, upload that.
Thanks,
Brian.