Excel Dates w/ No Slashes

G

Guest

Is there a way (by formatting or functions) to type a date into a cell with
no slashes and then it will be formatted with slashes?

For example...If I want to type into a cell the date for Sept 10th 2006 and
i type 091006 is there a way for it to format in the cell with the slashes.
If I format the cell with a date format (and slashes) and I type into the
cell 091006, I get back 02/28/49. Is there a feature available to be able to
type the literal date into the cell without the slashes and receive that date
in the cell with slashes? I understand the 1900 date formatting but I wasn't
sure if there is a work around.
 
M

MartinW

Hi sdoyle,

Excel ignores the leading zero and reads 91006 as 28th Feb 2049.
I don't know if there is a VBA solution but in normal circumstances
you have to follow Excels format.
To shorten your input you can use 9/10/6 and format the result
as you wish. The same amount of keystrokes just hitting the slash
at the top of the number pad instead of the zero at the bottom.

HTH
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top