#This should get you started:
filename = Dir$("C:\Data*.doc"
'Start File Search
Do While filename <> ""
'this puts names on an excel worksheet but you could add them to an array and then loop thru the array
ActiveCell.Offset(r, 0) = filename
r = r + 1
filename = Dir$()
Loop Rgds
Geoff
Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur
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.