• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

delete old file and create new file vba

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
 
Back
Top