Filesize

Davef28

Registered User.
Local time
Today, 23:19
Joined
Feb 6, 2002
Messages
51
Can i obtain the filesize of a file via VBA zt all ?

Thanks
 
Hi,

You can use this method:
Code:
Dim MySize As Long
MySize = FileLen(FilePath)    ' Returns file length (bytes).

Hope this will help!
 

Users who are viewing this thread

Back
Top Bottom