FileExists
Syntax
FileExists(Str)
Description
Returns true if the specified file exists and false if it does not.
Parameters
Parameter | Description |
---|---|
Str | A text string containing the path and file name of the file to check for existence. |
Example
Sub
Main
MsgBox FileExists("c:\foldername\filename.txt")
EndSub
See also