FileLen

Returns the size of a file in bytes.

Syntax
      FileLen (file_path)

Key
   file_path   The file to inspect.


The FileLen() function may be used in VBA or in an SQL query.

Example

Dim dtmDemo As Date

dtmDemo = FileLen(F:\demo.xls)

“By the time a man realizes that maybe his father was right, he usually has a son who thinks he’s wrong” ~ Charles Wadsworth

 


© Copyright SS64.com 1999-2014
Some rights reserved