FileExists

Syntax:

FileExists(Str)

Description:
Returns true if the specified file exists and false if it does not .

Parameter Description

Str  A text string containing the path and filename of the file to check for existence.

Example:

Sub Main
MsgBox FileExists("c:\foldername\filename.txt")
End
Sub

See Also:

DriveExists

DriveAvailableSpace

FileCount

FolderExists