I have run your code without any problem BUT you did not define what an invalid date is - simply less than 01/01/2021?
With valid Excel dates it worked OK
I have run your code without any problem BUT you did not define what an invalid date is - simply less than 01/01/2021?
With valid Excel dates it worked OK
Last edited by JohnTopley; 01-16-2022 at 02:49 PM.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks