A
Adriana Malamud
I've updated from office 97, some users are working with office XP and many
others with office 2003, (all windows 2000), both groups have the same
problem with this part of code:
Set fs = Application.FileSearch
With fs
.LookIn = "C:\xxx"
.FileName = "es*.txt"
If .Execute() > 0 Then
nCant = .FoundFiles.Count
Else
mensaje = MsgBox("NO Document found", vbExclamation)
GoTo Fin:
End If
End With
The problem is that the File Search seams to ignore that what I'm trying to
find are files starting with "es" ("es*.txt") , but instead finds all the
..txt files in that folder.
Any idea? Thanks!--
others with office 2003, (all windows 2000), both groups have the same
problem with this part of code:
Set fs = Application.FileSearch
With fs
.LookIn = "C:\xxx"
.FileName = "es*.txt"
If .Execute() > 0 Then
nCant = .FoundFiles.Count
Else
mensaje = MsgBox("NO Document found", vbExclamation)
GoTo Fin:
End If
End With
The problem is that the File Search seams to ignore that what I'm trying to
find are files starting with "es" ("es*.txt") , but instead finds all the
..txt files in that folder.
Any idea? Thanks!--