Excel Vba Existence Of A File

[Solved] Excel Vba Existence Of A File | Vb - Code Explorer | yomemimo.com
Question : excel vba existence of a file

Answered by : vastemonde

' Existence of a file
If Dir("C:\myDirectory\myFile", vbDirectory) = vbNullString Then MsgBox "Doesn't exists"
Else MsgBox "Exists"
End If

Source : | Last Update : Thu, 21 Jan 21

Answers related to excel vba existence of a file

Code Explorer Popular Question For Vb