Hi
I have code to copy sheets into a new workbook but what I want to do is, move one and copy the other.
I.e.
Sheet1 > move
Sheet2 > copy paste special (to remove formulas)
then save the new workbook with file name as per cell A1 of Sheet2
However, I need the user to specify their own path since they'll be opening the original doc from SharePoint and different users will be using it.
I therefore can't use the below code right?
Also, I need to save the new workbook as an .xlsx document (without macros)
I would also love it if it would attach to an email so they can send straight away but can live without this if needbe
Any advice gratefully received!
thank you!
I have code to copy sheets into a new workbook but what I want to do is, move one and copy the other.
I.e.
Sheet1 > move
Sheet2 > copy paste special (to remove formulas)
then save the new workbook with file name as per cell A1 of Sheet2
However, I need the user to specify their own path since they'll be opening the original doc from SharePoint and different users will be using it.
I therefore can't use the below code right?
Code:
ThisFile = Sheets("Instructions").Range("A1").Value
ActiveWorkbook.SaveAs Filename:=ActiveWorkbook.path & Application.PathSeparator & ThisFile
Also, I need to save the new workbook as an .xlsx document (without macros)
I would also love it if it would attach to an email so they can send straight away but can live without this if needbe
Any advice gratefully received!
thank you!