Hi
i need to search for a combined specific time and date value in a single column, as shown:
28-02-2018 17:00
28-02-2018 18:00
28-02-2018 19:00
28-02-2018 20:00
28-02-2018 21:00
etc
if i omit the time, I can search for a day, without issue using :
d = DateSerial(Year(cd), Month(cd), Day(cd))
Set r = Cells.Find(What:=d, LookIn:=xlValues, LookAt:=xlWhole, After:=Range("a1"))
but cannot successfuly include a time aspect (d + TimeSerial(Hour(d), Minute(d), 0) - the search just fails to find anything. I am presuming this type of search must be a relatively common need: appeciate if anyone can point me to a method that can work.
thanks..
Bookmarks