Excel 97 VBA - File Control
Question:
I am trying to delete several files from my system. This is code to be included with my program upgrade. We have several directories with pictures that are no longer used.
I can code to remove the files. I can code to delete the directories. This is done from within Excel 97 VBA.
I am getting errors due to the thumbs.dat file. Excel VBA does not seem to see this file in order to delete it. Consequently, I am left with an empty directory structure, each with their own thumbs.dat file.
Is there code that I am missing that would delete an entire directory including the thumbs.dat file that may reside in it.
Thanks