Results 1 to 2 of 2

Thread: Does Directory Exist

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 1999
    Location
    London, England
    Posts
    213

    Post

    How can I check to see if a directory exists ?

  2. #2
    Lively Member
    Join Date
    Dec 1999
    Posts
    106

    Post

    Use the dir() function, i.e. to see if d:\tmp exists use

    If Dir("d:\tmp", vbDirectory) <> "" Then
    MsgBox "Dir exists"
    Else
    MsgBox "Dir does not exist"
    End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width