F
FBxiii
Hi.
I have a piece of code to search for the specified file type within a folder.
This works fine for all File types, except ZIP files. Is there anyway of
getting it to recognise ZIP files?
Cheers,
Steve.
Here is a code snippet...
With Application.FileSearch
.NewSearch
.LookIn = strBackupDocsFilePath$
.SearchSubFolders = False
.Filename = "*" & strFileName$ & "*." & strExt$
'.TextOrProperty = strshipper$
.MatchAllWordForms = False
' .FileType = strExt$
If .Execute() > 0 Then
For i = 1 To .FoundFiles.Count
I have a piece of code to search for the specified file type within a folder.
This works fine for all File types, except ZIP files. Is there anyway of
getting it to recognise ZIP files?
Cheers,
Steve.
Here is a code snippet...
With Application.FileSearch
.NewSearch
.LookIn = strBackupDocsFilePath$
.SearchSubFolders = False
.Filename = "*" & strFileName$ & "*." & strExt$
'.TextOrProperty = strshipper$
.MatchAllWordForms = False
' .FileType = strExt$
If .Execute() > 0 Then
For i = 1 To .FoundFiles.Count