hi forum
I got the following code i need some help i want to save a unique file every time i run the code ,
i was thinking add Date0r Now function . i think that would create a unique file. but unfortunately i don't know how to do it.
I got the following code i need some help i want to save a unique file every time i run the code ,
i was thinking add Date0r Now function . i think that would create a unique file. but unfortunately i don't know how to do it.
Code:
Sub Saving_A_Copy_Of_Workbook()
Dim myfilename As Variant
myfilename = "C:\Users\myname\Desktop\work BM\debone\DEBONING DAILY BACKUP\DEBONING .xls"
ActiveWorkbook.SaveCopyAs myfilename
End Sub