Harry Covair
Member
Hi Sir JB7,
The initial goal is not changed: to know the total number of files that should be the upper limit of a progress bar.
I say "should be" because I left the progress bar because Excel 2010 will go into "no response" state when the treatment time is too long (even with some “do events” statements). I replaced it with information in the status bar. A "Select Case" gives empirically the treatment time. For example, for more than 200.000 (coming from the variable lfiles) files the message "estimated treatment time > 10 minutes” appears in the status bar. So 220000 or 240000 detected files is - in this case - without importance.
The observations described in my previous message had for sole purpose of informing you as feedback.
If you have a look at
https://www.dropbox.com/s/oh4stecfgpkehc2/files%20management%20Harry.xlsm
you will see the current state of the application.
But if you find a solution using the short DOS name, it would be great.
Regards
Harry
The initial goal is not changed: to know the total number of files that should be the upper limit of a progress bar.
I say "should be" because I left the progress bar because Excel 2010 will go into "no response" state when the treatment time is too long (even with some “do events” statements). I replaced it with information in the status bar. A "Select Case" gives empirically the treatment time. For example, for more than 200.000 (coming from the variable lfiles) files the message "estimated treatment time > 10 minutes” appears in the status bar. So 220000 or 240000 detected files is - in this case - without importance.
The observations described in my previous message had for sole purpose of informing you as feedback.
If you have a look at
https://www.dropbox.com/s/oh4stecfgpkehc2/files%20management%20Harry.xlsm
you will see the current state of the application.
But if you find a solution using the short DOS name, it would be great.
Regards
Harry