excel vba check if directory exists excel vba folder exist

The solution for “excel vba check if directory exists excel vba folder exist” can be found here. The following code will assist you in solving the problem.

Public Function IsDir(s)
IsDir = CreateObject(“Scripting.FileSystemObject”).FolderExists(s)
End FunctionIf Dir(“C:\Temp\xxx”, vbDirectory) = “” Then
MsgBox “Doesn’t exists”
End If

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts