error with vba and LookIn

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"
 
B

BrianB

Probably because it mimics the File/Open menu, so if you cannot open
he file there the function will not work either.

Regards
BrianB
====================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top