iterate all file in a folder vba

The solution for “iterate all file in a folder vba” can be found here. The following code will assist you in solving the problem.

Dim StrFile As String
StrFile = Dir(“c:\testfolder\*test*”)
Do While Len(StrFile) > 0
Debug.Print StrFile
StrFile = Dir

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts