
You can check if file exists!
VBA Code
As an example, check if “hogehoge.txt” exists.

Option Explicit
Sub sampleProc()
Dim fso As Object
Dim filePath As String
'Set "File path you want to check"
filePath = "C:\Users\user\Desktop\hogehoge.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
'Check if file exists
If fso.FileExists(filePath) Then
MsgBox "The file is exists."
Else
MsgBox "The file is not exists."
End If
Set fso = Nothing
End Sub
Result
You checked if file exists!

FYI No.1
Also, you can check if folder exists!
For more information, see the following article:
FYI No.2
For more information about following, see the following official online manual:
●“FileExists method” of “FileSystemObject”