Retrieving File Size

SteveC24

Registered User.
Local time
Today, 18:01
Joined
Feb 1, 2003
Messages
444
Hello all,

I would like, from a form, to get the file size of a particular file.

I would really like something like: FileSize("C:\testfile.exe")


I am sure I have had something like this before, but cannot for the life of me find the answer I originally got!

Thanks!
 
Try "file size" in the Answer Wizard of the VBA Help. Should give you all the info you need.
 
You were close.

MsgBox FileLen("C:\testfile.exe")
 

Users who are viewing this thread

Back
Top Bottom