Convert Date to End of Month
That worked. Thanks very much.
"Rick Rothstein" wrote:
It should be as simple as this:
For each cel in Selection
cel.value = Eomonth(cel.value, 0)
Next cel
Try it this way...
For Each Cel In Selection
Cel.Value = DateSerial(Year(Cel.Value), Month(Cel.Value) + 1, 0)
Next
--
Rick (MVP - Excel)
|