I am using the FileOpen object to pull text from a file. I want to make sure that before I hand it over to the object that the file is really there. I want to be able to kick up a error message for the end user that will not take them out of the program.
here is the code that I am using.
FileOpen(1, Me.txtEmailLocation.Text, OpenMode.Input)
While Not EOF(1)
txtLine = txtLine & vbCrLf & LineInput(1)