Hello
I was wondering how to make a macro SaveAs my file into the folder that my main file is in. Currently my code saves to my documents folder.
My current code:
Sub SaveAs()
ActiveWorkbook.Save
ThisFile = Range("B4").Value & Range("B8").Value
ActiveWorkbook.SaveAs Filename:=ThisFile
End Sub
Thanks
I was wondering how to make a macro SaveAs my file into the folder that my main file is in. Currently my code saves to my documents folder.
My current code:
Sub SaveAs()
ActiveWorkbook.Save
ThisFile = Range("B4").Value & Range("B8").Value
ActiveWorkbook.SaveAs Filename:=ThisFile
End Sub
Thanks