shadedlight
Member
Hello,
I'm trying to create a macro that saves current date to a specific folder. I've got the current date part but need to add specific folder. I need to save it to:
I need it to save to
/Users/wesleydewinter/OneDrive/2016 Billing/Daily Fee
The code I have is:
Sub SaveIt()
Dim dt AsString, wbNam AsString
dt = "Daily Fee "
wbNam = Format(CStr(Now), "yyyy_mm_dd ")
ActiveWorkbook.SaveAs Filename:=wbNam & dt
EndSub
I'm trying to create a macro that saves current date to a specific folder. I've got the current date part but need to add specific folder. I need to save it to:
I need it to save to
/Users/wesleydewinter/OneDrive/2016 Billing/Daily Fee
The code I have is:
Sub SaveIt()
Dim dt AsString, wbNam AsString
dt = "Daily Fee "
wbNam = Format(CStr(Now), "yyyy_mm_dd ")
ActiveWorkbook.SaveAs Filename:=wbNam & dt
EndSub