Works for me...Code:'check to see if a folder or directory does Private Sub Command1_Click() If Dir("C:\MyFolder\MySub", vbDirectory) <> "" Then MsgBox "Folder exists" Else MsgBox "Folder does not exist" End If End Sub
|
Results 1 to 7 of 7
Thread: Dir FunctionHybrid View
|
Click Here to Expand Forum to Full Width |