BazzRich,
not exactly what you need to do but should get you started:
Code:
Set fs = Application.FileSearch
With fs
.LookIn = "c:\test"
.FileType = msoFileTypeExcelWorkbooks
.Execute
End With
For i = 1 To fs.FoundFiles.Count
msgbox fs.FoundFiles(i)
Next i
just look in vba help for filesearch and adjust what you need to search for.
regards,
longhair
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.