antaeusguy
Board Regular
- Joined
- Mar 8, 2010
- Messages
- 81
Hi
My Regional settings for date in my laptop is MM/DD/YYYY (American format)
I've a sheet, which the cell A1 has custom format DD.MM.YYYY
Now, I want to check if the date in A1 is valid or not by using a VBA code
Say, in A1 it is 31.11.2012 (Not valid as November has no 31)
How should I program the VBA code so that the check will return FALSE?
I just need a Boolean value
Any help is very much appreciated!
My Regional settings for date in my laptop is MM/DD/YYYY (American format)
I've a sheet, which the cell A1 has custom format DD.MM.YYYY
Now, I want to check if the date in A1 is valid or not by using a VBA code
Say, in A1 it is 31.11.2012 (Not valid as November has no 31)
How should I program the VBA code so that the check will return FALSE?
I just need a Boolean value
Any help is very much appreciated!