A FileExists Function
Checks to see if a file exists.
Original Author: Blake Royer
full file path(FullFileName as String)
True or False
Private Function FileExists(FullFileName As String) As Boolean
On Error GoTo MakeF
'If file does not exist, there will be an error
Open FullFileName For Input As #1
'no error, file exists
FileExists = True
'error, file does not exist
FileExists = False
About this post
Viewed: 87 times
No comments have been added for this post.
You must be logged in to make a comment.