Hello everyone,
I'm new to the forum and to writing VBA scripts. I have an excel report that I would like to save with a specific file name and I'm having trouble figuring it out. The raw data report's name is "ALT_12_2_2016.xlsx" (the date changes every Friday when the report is ran) I would like to add ADF to the file name so that it looks like the following: ALT_ADF_12_2_2016.xlsx. Any ideas? I've tried a couple different options, currently I have the following:
ActiveWorkbook.SaveAs fileName:="C:\SCMS Reports\"
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
Any help would be greatly appreciated, thanks!
JD