1- how do I know there is (Folder) Name (MyFolder) In H.D?

  • Thread starter Thread starter Allen Browne
  • Start date Start date
A

Allen Browne

Public Function FolderExists(varPath As Variant) As Boolean
On Error Resume Next
If Len(varPath) > 0& Then
FolderExists = (Len(Dir$(varPath, vbDirectory)) > 0&)
End If
End Function
 
Back
Top