DannyTmoov2
IS-IT--Management
Simple relative saving problem: I have a macro that opens a new workbook and saves it with a filename, how do I save it to the same location as the original file (i.e. without c:\folder1\folder2\filename.xls)
Currently using
ActiveWorkbook.SaveAs FileName:="c:\folder\filename.xls"
but would like to just save as "filename.xls" in same folder as the workbook that launched the macro. currently just saves it in c:\filename.xls
Cheers
Currently using
ActiveWorkbook.SaveAs FileName:="c:\folder\filename.xls"
but would like to just save as "filename.xls" in same folder as the workbook that launched the macro. currently just saves it in c:\filename.xls
Cheers