How to delete an Excel workbook using MsAccess VBA

baba

Registered User.
Local time
Today, 15:00
Joined
Nov 15, 2011
Messages
39
If a File exists in CurrentProject.Path & "\Book1.xlsx" , I want to delete it
and create a new file . How can I do it using MsAccess vba . Please help !

Also how to create a new Workbook Book1.xlsx with only one WorkSheet called Sheet1
Thanks
 
Thanks vbaInet. Your solution is something that I never tought of .I think u completely understood the purpose of the forum :) . thanks again :)
 
No problem! I'm glad you took it in good spirit :)

But please feel free to ask any questions if you need some more guidance or are struggling with getting the code to work.
 

Users who are viewing this thread

Back
Top Bottom