
Originally Posted by
prabhuduraraj09
Hi Shikano53,
Not a problem, i am happy to help you as much as possible.
would you be able to post the code, in which you are facing the above said issues?
will definitely have a look at it. Guess we are close to solution

Yes, thank you so much!
Here is the code.
Sub saveas()
Dim strpath As String, strfolder As String, strfile As String
Dim d As Date
Dim wb1 As Workbook
strpath = " C:\Users\Security\Desktop\Daily Logs DO NOT DELETE\2014\" ' root path for monthly folders
templatepath = "C:\Users\Security\Desktop\Original Forms\" & "Original Log..xlsm" 'file path of template excel file
d = Date
strfolder = Dir$(strpath & Format(d + 1, "mmmm"), vbDirectory)
strfile = Format(Now() + 1, "mmmm-dd-yyyy") & ".xlsx"
Set wb1 = Workbooks.Open(templatepath)
Application.DisplayAlerts = 0
wb1.saveas (strpath & strfolder & "\" & strfile), FileFormat:=51, CreateBackup:=False
Application.DisplayAlerts = 1
End Sub
Bookmarks