An afterthought when finding dates. Ensure that you are not mixing date/times
with purely dates when trying to find. For example =NOW() is a date and time
but the cell can be formatted to view just the date but still has the
underlying time in the value. =TODAY() is only a date.
If you try to find a combined date and time in a range with purely dates
then it requires a little more in the code.
Also different formats can cause a problem. I have found that you sometimes
need to format the date to find the same as in the range being searched.
Example:
Set FoundIt = Rng.Find(What:=Format(Data, "dd mmm yyyy"), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False, _
SearchFormat:=False)
I have never quite entirely come to grips with dates in Excel. Every time I
think I am on top of them something different arises.