Hello,
I'm trying to loop through a folder and change all the names(actually the extensions to "txt", but the original extensions vary) This is what I have...
With Application.FileSearch
.LookIn = szDestPath
xFileCount = .FoundFiles.Count
For i = 1 To xFileCount
.FoundFiles.Item(i) = Replace(.FileName, "305", "txt")
Next
Thanks........
I'm trying to loop through a folder and change all the names(actually the extensions to "txt", but the original extensions vary) This is what I have...
With Application.FileSearch
.LookIn = szDestPath
xFileCount = .FoundFiles.Count
For i = 1 To xFileCount
.FoundFiles.Item(i) = Replace(.FileName, "305", "txt")
Next
Thanks........