I have this code to save for today. Just wondered where i put the '-1' to save it as yesterdays date
...Document Name" & Format(Date, " dd-mm-yyyy") & ".xlsx"
Thanks
I have this code to save for today. Just wondered where i put the '-1' to save it as yesterdays date
...Document Name" & Format(Date, " dd-mm-yyyy") & ".xlsx"
Thanks
After Date and before the comma ... Date-1,
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks