excel vba existence of a file

The solution for “excel vba existence of a file” can be found here. The following code will assist you in solving the problem.

‘ Existence of a file
If Dir(“C:\myDirectory\myFile”, vbDirectory) = vbNullString Then
MsgBox “Doesn’t exists”
MsgBox “Exists”
End If

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

More questions on [categories-list]

Similar Posts