andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello,
I am using this code to create a backup copy of my workbook:
The only problem with this code is that my current file gets closed and the backup is open. I'm not sure if that is exactly what happens, but when it is done the current file that is open is the copy, and I would like the original file to stay open.
Thanks,
Andrew
I am using this code to create a backup copy of my workbook:
Code:
Sub DOUGHMON()Dim fname
fname = "C:\Users\Andrew\Desktop\WEEKLY SALES REPORTS\" & Format(Now, "dd mmm yy") & ".xlsm"
ThisWorkbook.SaveAs Filename:=fname
End Sub
Thanks,
Andrew