Can anyone help with incorporating a version number in the filename everytime the macro is run- the Master sheet is saved.
Here is the code im currently using:
Many thanksPublic Sub Save() Dim fname As string Sheets("Master").copy Format(Date, "dd-mm-yy") + "_" + Format(Time, "hh.mm")+ "xls" ActiveWorkbook.saveas Fname:="C:\Saved\" &FName MsgBox "Your file has been saved" ActiveWorkbook.Close End Sub