Hi!
I created a macro. At the end of this macro I want to save my active workbook as a new file. Here is what I wrote:
ActiveWorkbook.SaveAs Filename:= _
"TV&Radio_" & Sheets("Template").Range("B7") & ".xlsx", FileFormat:= _
xlOpenXMLWorkbook, CreateBackup:=False
Problem: It saves the file under "MyDocuments". However, I want it to be saved in the same directory that I am working in.
Advice?
Thanks a lot!
I created a macro. At the end of this macro I want to save my active workbook as a new file. Here is what I wrote:
ActiveWorkbook.SaveAs Filename:= _
"TV&Radio_" & Sheets("Template").Range("B7") & ".xlsx", FileFormat:= _
xlOpenXMLWorkbook, CreateBackup:=False
Problem: It saves the file under "MyDocuments". However, I want it to be saved in the same directory that I am working in.
Advice?
Thanks a lot!