Filesize (1 Viewer)

Davef28

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

Thanks
 

chacal

Registered User.
Local time
Yesterday, 19:13
Joined
Jun 1, 2005
Messages
40
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

Top Bottom