Check if a file exist
This will check if a dam*n file exists the easy and "right" way! Plz vote for this code if you like it!
Rate Check if a file exist
(12(12 Vote))
Dim fso
Dim strFile As String
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists("c:\windows\Calc.exe") Then
MsgBox "It does exist", vbInformation, "Does Exist"
Else
MsgBox "It does not exist!", vbExclamation, "Doesn't Exist"
End If
Check if a file exist Comments
No comments yet — be the first to post one!
Post a Comment