Hi folks,
I'm terrible with VBA but I'm looking for a code that:
1) erase all files in a specific folder (eg. desktop\report).
2) extract some sheets from a workbook (eg. "Sheet1", "Sheet2", "Sheet3")
3) create a new workbook with the above sheets pasted as values ("Sheet1", "Sheet2", "Sheet3" have pivots in them. I would like to keep the cells formats but remove the pivots. So basically values with original cell formats)
4) save the new workbook as a "Report1" to the folder "desktop\report"
5) repeat points 2-3-4 for additional sheets in the main workbook (eg. "Sheet4", "Sheet5", "Sheet6") and save them as Report2 in the same folder.
6) some sheets have also charts in them. So I guess I would like to break the links for the charts as well. Thank you all!!!!!!
I will thank you forever for your help!
I'm terrible with VBA but I'm looking for a code that:
1) erase all files in a specific folder (eg. desktop\report).
2) extract some sheets from a workbook (eg. "Sheet1", "Sheet2", "Sheet3")
3) create a new workbook with the above sheets pasted as values ("Sheet1", "Sheet2", "Sheet3" have pivots in them. I would like to keep the cells formats but remove the pivots. So basically values with original cell formats)
4) save the new workbook as a "Report1" to the folder "desktop\report"
5) repeat points 2-3-4 for additional sheets in the main workbook (eg. "Sheet4", "Sheet5", "Sheet6") and save them as Report2 in the same folder.
6) some sheets have also charts in them. So I guess I would like to break the links for the charts as well. Thank you all!!!!!!
I will thank you forever for your help!
Last edited by a moderator: