error with vba and LookIn

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

This code return an error. Why ?
--
Set fs = Application.FileSearch
With fs
.LookIn = "ftp://10.217.2.3"
.SearchSubFolders = True
.Filename = "*.txt"
 
Probably because it mimics the File/Open menu, so if you cannot open
he file there the function will not work either.

Regards
BrianB
====================================================
 
Back
Top