Two questions:
I'm using the following to save a file down as today's date:
But I'm trying to figure out how to do two other things for a different file.
First, how can I save it as yesterday's date, specifically yesterday's business date so I don't have to change it on Monday's.
And secondly, how do I save it with the date in the middle of two static words.
Much obliged!
I'm using the following to save a file down as today's date:
Code:
ActiveWorkbook.SaveAs Filename:="Name" & _
Format(Now(), "mm-dd-yyyy"), FileFormat:=xlNormal, Password:="", _
WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:=False
But I'm trying to figure out how to do two other things for a different file.
First, how can I save it as yesterday's date, specifically yesterday's business date so I don't have to change it on Monday's.
And secondly, how do I save it with the date in the middle of two static words.
Much obliged!