Thread: Get File Size
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Get File Size

http://msdn.microsoft.com/library/de...e_data_str.asp

nFileSizeHigh
High-order DWORD of the file size. This member has no meaning for
directories.
nFileSizeLow
Low-order DWORD of the file size. This member has no meaning for
directories.

Usage is with the API function GetFileAttributesEx

--
Regards,
Tom Ogilvy

"Frank" wrote in message
...
Hi I am trying to show the file size in a form, I have got a form that
collects file names and creation date modified date but I also want to

show
the file size of each file found. can any body help to get the info above

I
am using API functions but I can't find anything about file size.
TIA
Frank