Hi all,
I have a sheet named "Temp" that I would like to save as a new seperate workbook (xlsx), with the name "Trade Date" together with the specific date from cell C4 of the "Home" sheet (eg: "Trade Date dd/mm/yyyy")
I would like to name the sheet of this new workbook "Dealt" and then for the workbook to be saved in the following directory: S:\Folder1\Folder2\Folder3
I would then like the new workbook to be closed and then return to the original source workbook.
I found this code which I believe is a good start, but I'm not sure how to add the date from cell C4 of Home sheet.
Any help would be appreciated.
Thanks,
Ed.
I have a sheet named "Temp" that I would like to save as a new seperate workbook (xlsx), with the name "Trade Date" together with the specific date from cell C4 of the "Home" sheet (eg: "Trade Date dd/mm/yyyy")
I would like to name the sheet of this new workbook "Dealt" and then for the workbook to be saved in the following directory: S:\Folder1\Folder2\Folder3
I would then like the new workbook to be closed and then return to the original source workbook.
I found this code which I believe is a good start, but I'm not sure how to add the date from cell C4 of Home sheet.
Code:
Sub Copy()
Sheets("Temp").Copy
ActiveWorkbook.SaveAs "Trade Date.xlsx"
ActiveWorkbook.Close
End Sub
Any help would be appreciated.
Thanks,
Ed.