Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I've created a folder called FileNameFolder.
At the end of the process, I need to delete it (and whatever there is inside) from my pc.
How can I figure it out?
I've created a folder called FileNameFolder.
At the end of the process, I need to delete it (and whatever there is inside) from my pc.
How can I figure it out?
VBA Code:
Dim oApp As Object
Set oApp = CreateObject("Shell.Application")
oApp.Namespace(FileNameFolder).CopyHere oApp.Namespace(Fname).items
'do stuff
'then I need to delete the folder