Check if File Exists

M

Max

Is there a function or a way to check if an external file exists?

Need help ASAP!!!

Thanks in advance.
Max
 
R

Rick Brandt

Max said:
Is there a function or a way to check if an external file exists?

Need help ASAP!!!

Thanks in advance.
Max

If Dir("Path to file\Filename") = "" Then
'File doesn't exist
Else
'File does exist
End If
 

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