ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Kill all files in folder (https://www.excelbanter.com/excel-programming/413352-kill-all-files-folder.html)

Otto Moehrbach[_2_]

Kill all files in folder
 
Excel XP & Win XP
I have a folder that may or may not contain some .xls files. That folder
may not be the active folder. I want to remove from disk (Kill) all these
files, if they exist. What is the code for that? Thanks for your time.
Otto



Ron de Bruin

Kill all files in folder
 
See this page Otto
http://www.rondebruin.nl/folder.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Otto Moehrbach" wrote in message ...
Excel XP & Win XP
I have a folder that may or may not contain some .xls files. That folder
may not be the active folder. I want to remove from disk (Kill) all these
files, if they exist. What is the code for that? Thanks for your time.
Otto




All times are GMT +1. The time now is 01:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com