Excelpromax123
Board Regular
- Joined
- Sep 2, 2021
- Messages
- 167
- Office Version
- 2010
- Platform
- Windows
Hello everyone. I need a code to delete all folders and files, what should I do. Currently I am using below code which deletes all files only. The folder cannot be deleted.
Sincerely thank
Sincerely thank
VBA Code:
Sub Remove_File()
Kill "C:\Users\PC\Desktop\Test\*.*"
End Sub