Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Access VBA - File Scripting Object

Avatar of djMcCauley
djMcCauley asked on
Microsoft AccessVisual Basic ClassicMicrosoft Development
19 Comments1 Solution724 ViewsLast Modified:
Need help with the File Scripting Object.
Since Microsoft has decided to do away with the File Search Object, I need to re-write a couple of modules using the File Scripting Object. I have made a few attempts to no avail.

Here is what I need to accomplish:
Basically look in five folders to see if any files exist, if so, then Delete the files it finds.
The main folder for the five sub folders is C:\Data\P4DL\InvReports\
The five sub folders I need to loop thru looking for files that may exist and then delete (files only)are:
Avatar of Patrick Matthews
This problem has been solved!
Unlock 1 Answer and 19 Comments.
See Answers