How to get date yesterday?
I would want to get the date yesterday, I am using the today () functiondateNow = Format (Today(), "m/d/y");
However, I don't know how to derive from dateNow the date yesterday. Tried using d = (dateNow - 1);but is not working.