LibreOffice 7.6 Help
āĻĢāĻžāĻāϞā§āϰ āĻĻā§āϰā§āĻā§āϝ āĻŦāĻžāĻāĻā§ āĻĻā§āĻāĻžā§ āĨ¤
FileLen (Text As String) As Long
Long
Use ScriptForge.FileSystem service GetFileLen() method when size is expected to be over 2 gigabytes.
āϞā§āĻ: āϝā§āĻā§āύ⧠āϏā§āĻā§āϰāĻŋāĻ āĻāĻā§āϏāĻĒā§āϰā§āĻļāύ āϝāĻžāϤ⧠āĻĢāĻžāĻāϞā§āϰ āύāĻŋāϰā§āĻĻāĻŋāώā§āĻ āĻŦā§āĻļāĻŋāώā§āĻā§āϝā§āϰ āĻāϞā§āϞā§āĻ āϰā§ā§āĻā§āĨ¤ āĻāĻĒāύāĻŋ URL āύā§āĻā§āĻļāύāĻ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻāϰāϤ⧠āĻĒāĻžāϰā§āύāĨ¤
This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function.
Sub ExampleFileLen
MsgBox FileLen("C:\autoexec.bat")
End Sub