I assume you mean you want to test if a file (that's specified in a string)
actually exists.
If Dir(strPath, vbNormal) <> "" Then
MsgBox "The path exists"
Else
MsgBox "The path doesn't exist"
End If
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
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.