I want to set up where the date set excludes weekends.
I have code where I set the date for the next day ie: "Tomorrows Issues - " & Date()+1, and I would like it to exclude the weekends. currently if it is a Friday and you get Saturdays date and I need Modays date.
I found this code, but it seems like it would only affect Saturday, not Sunday.
IIf(Weekday(Date())=2,Format(Date()-3,"mm/dd/yyyy"),Format(Date()-1,"mm/dd/yyyy"))
How would I adapt this to include both? Or is this completely wrong for my situation?
Thanks
T