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
 
Top