how to cast a Range value to a Date value?
Hi Mark,
Try:
DueDate = Cells(Rows.Count, DueDateColumn).End(xlUp).Value
---
Regards,
Norman
"Mark Dvorkin" wrote in message
...
The right hand side of the expression below returns a Range that in my
case will always be the value of the last cell in the column DueDateColumn
.....
Dim DueDate as Date
Set DueDate = Cells(Rows.Count, DueDateColumn).End(xlUp)
.....
How can I stuff this value into the DueDate variable???????
I appreciate your patience with me and
thanks for you help in advance,
/mark
|