LibreOffice 7.3 Help
Returns the size of an open file in bytes.
Lof (FileNumber)
Long
FileNumber: Any numeric expression that contains the file number that is specified in the Open statement.
To obtain the length of a file that is not open, use the FileLen function.