Collabora Office 24.04 Help
Određuje da li je datoteka ili direktorij dostupan na podatkovnom mediju.
FileExists(FileName As String | DirectoryName As String)
Bool
FileName | DirectoryName: Any string expression that contains an unambiguous file specification. You can also use URL notation.
Sub ExampleFileExists
MsgBox FileExists("C:\autoexec.bat")
MsgBox FileExists("file:///d|/bookmark.htm")
MsgBox FileExists("file:///d|/Private")
End Sub