Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Create a new folderand name it the previous month
HI All,
I would like help with the following: I would like to create a folder with the name of the current month less one. Next, I would like to Save As the active file Im working on with the name Audit Report for current month less one. I would like to save this audit report in the folder I just created above. The code Im trying to use is below. I think my problems are with the items in blue MkDir "\\NS-WARQVFS01\Audit\MonthlyReport\" & Format(((Now) - 1), "mmm_yy") ActiveWorkbook.SaveCopyAs Filename:="\\NS-WARQVFS01\Audit\MonthlyReport\Folder name from above \AuditReport_" & Format(Now, "mmm_yy") & ".xls" Thanks in advance for any help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
3-Color Scale Vlookup for Current Month/Previous/Pre-Previous | Excel Discussion (Misc queries) | |||
Retrieve data for previous 3, 6, 12 month given current month | Excel Worksheet Functions | |||
Previous Month End | Excel Discussion (Misc queries) | |||
copy worksheet from previous month and rename to current month | Excel Programming | |||
End of previous month | Excel Programming |