LibreOffice 7.2 Help
Bepaalt of een bestand of een directory beschikbaar is op het gegevensmedium.
FileExists(BestandsNaam As String | DirectoryNaam As String )
Booleaans
Bestandsnaam | MapNaam: Elke tekenreeks die een ondubbelzinnige bestandsspecificatie bevat. De URL-notatie kan hier ook worden gebruikt.
Sub ExampleFileExists
MsgBox FileExists("C:\autoexec.bat")
MsgBox FileExists("file:///d|/bookmark.htm")
MsgBox FileExists("file:///d|/Private")
End Sub