ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find File Name and Delete (https://www.excelbanter.com/excel-programming/427679-re-find-file-name-delete.html)

Don Guillett

Find File Name and Delete
 
Look in the vba help index for KILL and incorporate into a looping macro

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"mrsviqt" wrote in message
...
I have an excel document that has two columns: A=Folder/Path, B=Filename.
I
plan to add a yes/no validation list to column C. I need to write a macro
so
that if column C = Yes, Go to Folder/Path/Filename and delete that file.
Is
that even possible? Any help is greatly appreciated. I have about 10,000
files that need to be deleted.




All times are GMT +1. The time now is 02:01 PM.

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