Actually that doesn't quite cut it.
If there was a file named "Folder", our example would not give the right
answer, Jack.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Jack Leach" <dymondjack at hot mail dot com> wrote in message
news:76F00ECE-D334-4E72-BC4C-(E-Mail Removed)...
> You can use the Dir() function, passing the optional argument as
> vbDirectory
>
> If Len(Dir("C:\Folder", vbDirectory)) = 0 Then
> MsgBox "Folder Doesn't Exist"
> End If
>
> --
> Jack Leach
> www.tristatemachine.com
>
> "I haven't failed, I've found ten thousand ways that don't work."
> -Thomas Edison (1847-1931)
>
>
>
> "Steven" wrote:
>
>> Is there a way to tell if a directory exists. Not a file in a directory
>> ..... but a directory.
>>
>>
>> Thank you,
>>
>> Streven