Model_Citizen
New Member
- Joined
- Feb 26, 2011
- Messages
- 1
Hi
I don't tend to post to forums since the oracle (Google) tends to answer most of my questions, but this one I have been wondering about for some years.
I love shortcut keys and hate the mouse. I therefore managed to configure my Excel such that I can do pretty much anything with the keyboard only and faster than using the mouse.
We use the date format yyyy/MM/dd for uploading data to a database. In my Regional Settings in Windows 7 (same with XP and Vista before) this is set up as the "Short Date" which is consistent with my country. This works fairly well. When I Press CTRL-1, TAB (once) to "Date" and hit ENTER, I get my date formatted in the correct format.
However, when I hit CTRL-SHIFT-3, the date format is dd-MMM-yy. I have checked my Regional Settings, as most posts suggest, but no luck. This format is not listed there at all. Where does Excel get this format? Is it hard coded? How can I configure Excel to use the short date format configured on my OS, or for that matter just yyyy/MM/dd?
I have in recent times found a workaround in the form of a Macro configured on my Alt-9 key:
I prefer to find a native solution because this will:
Thanks in advance
Model_Citizen
I don't tend to post to forums since the oracle (Google) tends to answer most of my questions, but this one I have been wondering about for some years.
I love shortcut keys and hate the mouse. I therefore managed to configure my Excel such that I can do pretty much anything with the keyboard only and faster than using the mouse.
We use the date format yyyy/MM/dd for uploading data to a database. In my Regional Settings in Windows 7 (same with XP and Vista before) this is set up as the "Short Date" which is consistent with my country. This works fairly well. When I Press CTRL-1, TAB (once) to "Date" and hit ENTER, I get my date formatted in the correct format.
However, when I hit CTRL-SHIFT-3, the date format is dd-MMM-yy. I have checked my Regional Settings, as most posts suggest, but no luck. This format is not listed there at all. Where does Excel get this format? Is it hard coded? How can I configure Excel to use the short date format configured on my OS, or for that matter just yyyy/MM/dd?
I have in recent times found a workaround in the form of a Macro configured on my Alt-9 key:
Code:
Sub DateFormat()
Selection.NumberFormat = "yyyy/mm/dd;@"
End Sub
- Help me understand why this is not working
- Sooth my OCD a bit
- Release one of my precious Alt-# keys
- Allow me to set it up easier on new machines
Thanks in advance
Model_Citizen