Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Canned VBA Date Validation
I want to validate a date entered into a textbox on a
form, before committing it to the target cell. This is because the cell date format doesn't seem to append the year if a date like 1/1 is entered (for some reason even though the target cell is formatted as a date, when the textbox value is copied into the cell, the format doesn't change the entry, as it would when manually entered). If either the cell formatting or some easy VB validation script can do this, it would be ideal. The goal is to have the entry in dd/mm/ccyy format for consistency. I could write something to parse the input and either append the year or return the date to the user for correction, but I was hoping there is something canned out there so I don't re-invent the wheel. thanks Kevin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
DATE VALIDATION | Excel Discussion (Misc queries) | |||
Is there a way to use a cell value as a parm in a canned function? | Excel Discussion (Misc queries) | |||
Date Validation - Must equal Sundays date | Excel Discussion (Misc queries) | |||
Add canned comment | Excel Discussion (Misc queries) | |||
PivotTable canned functions | Excel Discussion (Misc queries) |