network files in a folder

J

JohnE

Hello. I have hit a wall on this one. There is a process that when a user
clicks the Submit button, there needs to be a check made in a directory on
the network to see if there are files located in the directory. If there are
files with .txt or .Description extensions, these should be ignored. I
imagine an IF statement is used.

I am lost on how to do a check of a directory folder for files located on a
network. And because of this, I seek help from the group. If anyone knows
how this is done or knows of any samples/examples to view, that would be
great as well.

Thank you.
.... John
 
D

Dennis

You need to open a FileSystemObject. At that point you have access to
IfExists for a filename in a directory path, etc.
 

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