I am trying to use VBA code to name and save the file with current date
End Result and format I need:
"PHS Worksheet Warning Report GAFG Non End 12-27-2018"
Save to location:
C:\Users\bsronce\Desktop\PHS Warning
I am trying to use VBA code to name and save the file with current date
End Result and format I need:
"PHS Worksheet Warning Report GAFG Non End 12-27-2018"
Save to location:
C:\Users\bsronce\Desktop\PHS Warning
try
Sub
filesave()
ActiveWorkbook.SaveAs (
"C:\Users\bsronce\Desktop\PHS Warning\
PHS Worksheet Warning Report GAFG Non End "
& Format(Now(),
"MM-DD-YYYY"
) &
".xlsx"
)
End
Sub