This function is from John Walkenbach's book "Power Programming With VBA":
Code:
Private Function FileExists(fname) as Boolean
Dim x as String
x = Dir(fname)
If x <> "" Then
FileExists = True
Else
FileExists = False
End If
End Function
Paulo I could use some help with the code that goes out and finds the folder, I also have a database that I need the onClick procedure to find a folder, I need some example code. If you could help I would appreciate it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.