looks like you are comparing text to date.
This won't do.
Need to convert text to date before comparsion.
If left(DateTime,10) = Date then
above should be...
If cdate(left(DateTime,10)) = Date then
redwine0
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.