ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   finding out File size before opening it (https://www.excelbanter.com/excel-discussion-misc-queries/108081-finding-out-file-size-before-opening.html)

MarkS

finding out File size before opening it
 
Hi,
I have to go through a lot of excel files to find which ones are for a date.
That part works fine I go through the directories open all the files and look
inside them.
What I need to do now is in VBA find if the file is ZERO length before I
have opened it

Thanks MarkS

Stefi

finding out File size before opening it
 
See FileLen function in VBA Help!

Regards,
Stefi


€˛MarkS€¯ ezt Ć*rta:

Hi,
I have to go through a lot of excel files to find which ones are for a date.
That part works fine I go through the directories open all the files and look
inside them.
What I need to do now is in VBA find if the file is ZERO length before I
have opened it

Thanks MarkS



All times are GMT +1. The time now is 12:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com