Hi
I have this code to save a spreadsheet,
[TABLE="width: 215"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD] '=CONCATENATE("\\ac-eu\uk\corp\Work","Weekly MI Report"," ",(Day)," ",(Month)," 2019.xls")
[TABLE="width: 87"]
<tbody>[TR]
[TD="class: xl55050, width: 87, align: right"]19/03/2019[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][/TD]
[TD="align: left"][/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: left"]Day[/TD]
[TD="align: left"]19[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: left"]Month[/TD]
[TD="align: left"]03[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The above formula is in F21
The problem i have to save this spreadsheet in different folders, depending on the clients name there would be a folder it would go in..........
isit worth having a pop up box and selecting the directory manually, if so could the file name be derived automatically??
I have this code to save a spreadsheet,
Code:
Sub Save()'
' Save Macro
Sheets(Array("Sheet1")).Select
Sheets(Array("Sheet1")).Copy
ActiveWorkbook.SaveAs Filename:=Range("F21")
Range("A1").Select
End Sub
[TABLE="width: 215"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD] '=CONCATENATE("\\ac-eu\uk\corp\Work","Weekly MI Report"," ",(Day)," ",(Month)," 2019.xls")
[TABLE="width: 87"]
<tbody>[TR]
[TD="class: xl55050, width: 87, align: right"]19/03/2019[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: right"][/TD]
[TD="align: left"][/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: left"]Day[/TD]
[TD="align: left"]19[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: left"]Month[/TD]
[TD="align: left"]03[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The above formula is in F21
The problem i have to save this spreadsheet in different folders, depending on the clients name there would be a folder it would go in..........
isit worth having a pop up box and selecting the directory manually, if so could the file name be derived automatically??