VB Code:
  1. If Len(Dir$("C:\myFile.txt")) > 0 Then
  2.   MsgBox "File Exists!"
  3. Else
  4.   MsgBox "File Doesn't Exist!"
  5. End If