Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,616
- Office Version
- 365
- 2016
- Platform
- Windows
I have this code (based on this post)
I am getting a "Path not found" error with the line in red.
dpath = "D:\WSOP 2020\Distributables\2023\May\12 FRI\"
Perhaps I'm blind, but I think this path does exist.
I am getting a "Path not found" error with the line in red.
Rich (BB code):
If ui1 = vbYes Then 'Erase folder
Dim FSO As Object
Set FSO = CreateObject("scripting.filesystemobject")
FSO.deletefolder dpath
Else
dpath = "D:\WSOP 2020\Distributables\2023\May\12 FRI\"
Perhaps I'm blind, but I think this path does exist.