I have templates stored in a single location and I want the output stored in a different location with the same file name and date appended.
The code below works, but in it I specify the file name (in this example: Forecast HM SUPPLIERNAME). I would prefer for the file name to use the source file name and then just append the date.
Is this possible?
The code below works, but in it I specify the file name (in this example: Forecast HM SUPPLIERNAME). I would prefer for the file name to use the source file name and then just append the date.
Code:
ActiveWorkbook.SaveAs Filename:="\\aurnt503\Xcc$\11 Planning\New Reports\Forecast HM SUPPLIERNAME" & Format(Now, " mm-dd-yyyy") & ".xlsx", FileFormat:=51