Hi,
I need Help
I am looking for a VBA code that will kill the file If it is present anywhere in the pc
File name is ag.csv
Thnx for the Help
Hi,
I need Help
I am looking for a VBA code that will kill the file If it is present anywhere in the pc
File name is ag.csv
Thnx for the Help
Last edited by Leonardo1234; 06-16-2023 at 10:33 AM.
Why do you want to do this with VBA? The function you want to perform is not related to anything in Excel. I would just use Windows Explorer search or a third-party search tool (I use FileLocator Pro).
Sir
Actually I have to delete the files multiple times & Daily i will delete it via code & that's why I am looking for the code
This code will find the file. It is not a complete project for you, in that it does not include code to delete the file once it is found. With this code you
have 98% of your project. You can add the needed 'delete' code for your purposes.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks