LibreOffice 7.3 Help
Bepaalt of een bestand of een directory beschikbaar is op het gegevensmedium.
FileExists(FileName As String | DirectoryName 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