Originally posted by HumePeabody
If you are doing what I usually do and trying to tell the user how much longer the file will be read, I would use the size of the file available through a FileSystemObject and keep track of the number of bytes read (each line = Len + 2, for CRLF). Then you have the progress in terms of percent by dividing the bytes read/bytes total.

One other tip is to only update your progress bar every X% so that CPU time is spent on processing the file and not updating the screen as often.

HTH

Hume
that's a good idea! thanks, i'll have a look into that when i got the time