pakilprogramador Member Nov 5, 2014 #1 how do you can delete the old workbook excel and create a new one with their latest amendments with macro.vba
how do you can delete the old workbook excel and create a new one with their latest amendments with macro.vba
Abhiishek New Member Nov 5, 2014 #2 Hi Pakil, To delete old workbook . use it Sub dltfile() Kill "C:\Users\Amit\Desktop\Sample-File.xlsm" End Sub but last line to create a new one is not clear. what amendments . do you want all sheets to be copied in new workbook. please give more details Thanks, Abhishek Srivastav
Hi Pakil, To delete old workbook . use it Sub dltfile() Kill "C:\Users\Amit\Desktop\Sample-File.xlsm" End Sub but last line to create a new one is not clear. what amendments . do you want all sheets to be copied in new workbook. please give more details Thanks, Abhishek Srivastav