Trevor G
Well-known Member
- Joined
- Jul 17, 2008
- Messages
- 6,727
- Office Version
- 365
- 2021
- 2019
- 2016
- Platform
- Windows
I have a workbook which I have created from a transfer query from Access, if the file exists I want to delete it, I know that I can use the Kill command like this
But I want to check to see if it exists first, if it does Kill it if not then the code will create it.
Kill CurrentProject.Path & "\" & "DUA Export Binder And Lineslip.xls"
But I want to check to see if it exists first, if it does Kill it if not then the code will create it.