When I tested it, the code would accept
or
but not
I got a type mismatch on the latter (same as you).
It accepted the input whether it was formatted as Date or as Number or as Text.
To "trap" an error, you can use this code
I know that does not answer your question. But, if (in VB Editor) you look for Help under the IsDate function, it will give you some idea of what DateValue will accept as an argument.
I am sure this is very frustrating right now. But, it appears to me that you are tantalizingly close to having this solved.
Bookmarks