Collabora Office 24.04 Help
파일 또는 디렉토리를 데이터 매체에서 사용할 수 있는지 확인합니다.
FileExists(FileName As String | DirectoryName As String)
Bool
FileName | DirectoryName: 명확한 파일 지정을 포함하는 임의의 문자열 식입니다. URL 표기법을 사용할 수도 있습니다.
Sub ExampleFileExists
MsgBox FileExists("C:\autoexec.bat")
MsgBox FileExists("file:///d|/bookmark.htm")
MsgBox FileExists("file:///d|/Private")
End Sub