Property Name
Size
Property Type
Variant
Description
Gets the size of a file in bytes.
Remarks
Returns 0 (zero) for directory.
Example
Dim File As Ifile
Set File =
GetObject("NTDS://DomainName/MachineName/file_services/c-drive\documents\todo.doc")
Debug.Print File.Size
See Also: