Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check for NumberFormat = DateFormat
Hi all,
is there a simple way to check if a Range.NumberFormat returns a Date format ? To be sure I am not misunderstood: the Cell-Values might be empty but the cells are formatted to a date format. by default it might be dd/mm/yy or similar but could also return "[$-409]d/m/yy h:mm AM/PM;@" or sth. what I am searching for is a simple way to check if the range.numberformat fits to any possible dateformat. best case would be "If Range.NumberFormat = IsDateFormat then..." but I cannot seem to find something like that. Is there an easy solution for that ? thanks for any kind of hints. Joe. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dateformat | Excel Programming | |||
Convert UK DateFormat to US | Excel Programming | |||
VBA Excel Chart DateFormat Language Settings Locale | Excel Programming | |||
VBA NumberFormat | Excel Programming | |||
DateFormat (dd-mmm-yyyy) (dd-mmm-jjjj) Problem. | Excel Programming |