Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating cells to only accept ShortDate format
Need to format some columns in ShortDate format only
so that the only values accepted are in "##/##/##" format. If someone types in Dec. 10, 2003, for example, an error should be genereated, and the user is reminded to enter dates in "##/##/##" format. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating cells to only accept ShortDate format
Why not just format the date as mm/dd/yy and let the user type the date in any
format they like? "JShrimps, Jr." wrote: Need to format some columns in ShortDate format only so that the only values accepted are in "##/##/##" format. If someone types in Dec. 10, 2003, for example, an error should be genereated, and the user is reminded to enter dates in "##/##/##" format. -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating cells to only accept ShortDate format
Why would you want to do this?
Excel does not store the date in that format, but as a decimal number and cell formatted as Date. Just pre-set the cell format as "##/##/##" and it won't matter what they type, it will display the short format. Kevin Beckham -----Original Message----- Need to format some columns in ShortDate format only so that the only values accepted are in "##/##/##" format. If someone types in Dec. 10, 2003, for example, an error should be genereated, and the user is reminded to enter dates in "##/##/##" format. . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating cells to only accept ShortDate format
After formating a group of cells as "##/##/##",
and typing in "December 12, 2003", results in "December 12, 2003" in the cell. I have to limit the data entry to the "##/##/##" format only. No text strings allowed. "Kevin Beckham" wrote in message ... Why would you want to do this? Excel does not store the date in that format, but as a decimal number and cell formatted as Date. Just pre-set the cell format as "##/##/##" and it won't matter what they type, it will display the short format. Kevin Beckham -----Original Message----- Need to format some columns in ShortDate format only so that the only values accepted are in "##/##/##" format. If someone types in Dec. 10, 2003, for example, an error should be genereated, and the user is reminded to enter dates in "##/##/##" format. . |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating cells to only accept ShortDate format
Try Data|Validation and tell it to only accept dates.
but I typed in "december 12, 2003" in a cell and I got the date back. But I formatted it as mm/dd/yy (under custom). "JShrimps, Jr." wrote: After formating a group of cells as "##/##/##", and typing in "December 12, 2003", results in "December 12, 2003" in the cell. I have to limit the data entry to the "##/##/##" format only. No text strings allowed. "Kevin Beckham" wrote in message ... Why would you want to do this? Excel does not store the date in that format, but as a decimal number and cell formatted as Date. Just pre-set the cell format as "##/##/##" and it won't matter what they type, it will display the short format. Kevin Beckham -----Original Message----- Need to format some columns in ShortDate format only so that the only values accepted are in "##/##/##" format. If someone types in Dec. 10, 2003, for example, an error should be genereated, and the user is reminded to enter dates in "##/##/##" format. . -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
format cell to accept 2 letters only | Excel Discussion (Misc queries) | |||
Format cells to only accept numbers | Excel Discussion (Misc queries) | |||
how can I have Excel accept date in format dd/mm/yy ? | Setting up and Configuration of Excel | |||
How do I format cells to accept stones and pounds? | Excel Discussion (Misc queries) | |||
Formating cells with date format | Excel Discussion (Misc queries) |