Try the code below and see how it works for you.
Private Function fGetFiles2()
Dim objFS As Object, objFolder As Object
Dim objFiles As Object, objF1 As Object
Dim strFolderPath As String, strDoc As String
Dim I As Integer, J As Integer
strFolderPath = "i:/test/"...