D
don
I have a variable vdate defined as
vdate = "01/01/2007"
When I compare it to a date on a worksheet of the same date, ie,
1/1/2007, Excel says they aren't equal.
If I check both using ISdate() it shows True.
If I change the vdate = 1/1/2007 (no quote marks) it considers it a
division calculation.
If I assign vdate to a cell, ie.
cells(1,1)=vdate
and then compare cells(1,1) to the dates on the spreadsheet it finds
them to be equal.
How do I compare the vdate to the dates on the worksheet without going
thru the process of saving it to a cell.
Thanks
Don
vdate = "01/01/2007"
When I compare it to a date on a worksheet of the same date, ie,
1/1/2007, Excel says they aren't equal.
If I check both using ISdate() it shows True.
If I change the vdate = 1/1/2007 (no quote marks) it considers it a
division calculation.
If I assign vdate to a cell, ie.
cells(1,1)=vdate
and then compare cells(1,1) to the dates on the spreadsheet it finds
them to be equal.
How do I compare the vdate to the dates on the worksheet without going
thru the process of saving it to a cell.
Thanks
Don