looking up files and deleting

  • Hi there,

    I have a list of file names in Column A. Would anybody know a way that I could delete files in a specific folder with these file names?

    There are hundreds of files so it would take me a long time to look them up and delete individually.

    Thank you for your help

    Kind regards


  • Re: looking up files and deleting

    Hi John,

    You could try something like the code below. The code has not been tested - given that it involves the deletion of files I strongly suggest that you test it first on some dummy data in a dummy directory.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!