I am presently selecting pattern = *.txt and it works fine. I need to narrow the scope and select a pattern like this: tovecellio*.txt, it does not seem to find any files even if they are present.
Present code:
Set objRegExp = New RegExp
objRegExp.Pattern = "*.txt"
objRegExp.IgnoreCase = True
For Each objFile In fileColl
If objRegExp.Test(objFile.Name) Then........
Present code:
Set objRegExp = New RegExp
objRegExp.Pattern = "*.txt"
objRegExp.IgnoreCase = True
For Each objFile In fileColl
If objRegExp.Test(objFile.Name) Then........