|
-
Dec 19th, 2007, 09:47 PM
#6
Re: File or Directory Exists
 Originally Posted by abazabam
What is the best function to tell if a file or directory exists? I'm trying to use the Dir function but I don't know what attributes to use. I want the function to be very versatile so that it can tell if a file or directory exists no matter what attributes it has. Thank you
Use the attributes vbSystem + vbHidden. That will return any type of file or directory.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|