'How to use Evaluate for dates?
How do I evaluate dates, as seen as below?
According to this list, https://www.techonthenet.com/excel/formulas/index_vba.php, all the functions in the formula should be valid.
Solution 1:[1]
I'm not sure exactly why you want to use Evaluate
, but the issue is the use of DateSerial
. Evaluate
should be used with worksheet formulas, not VBA functions.
The equivalent worksheet formula to DateSerial
is Date
.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | BigBen |