I understand that it is possible to delete files from a folder using Excel VBA
I am running Excel 2010 on Windows 7
I would like to delete specific jpg files from a directory with many folders and subfolders. The directory's name is ...
The jpg files that are to be deleted are only those that have the following characters at the end:
_h.jpg or _n.jpg, i.e. for example 90-147-58-30_h.jpg or 94-111-24-39_n.jpg. All other jpg files that do not match these criteria are not to be touched.
Help is very much appreciated. Thank you very much in advance.
Kind regards, Andreas