Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default time till finished

Hello everyone,

I was wondering if anyone knows how to emulate the percent complete / time
till finished display that is used for software installations. I have a
fairly complicated set of macros that involves sequaentially opening
spreadsheets in thousands of subfolders and reading in and summarizing data
and this currenlty takes around three hours, but could potentially take much
longer as the number of files increases.

I was thinking of something along the lines of counting the total number of
subdirectories under the path, and then using a running average to calculate
average process time for the main do loop, and displaying this as a
calculated percent complete / time till finish status update.

Any thoughts or suggestions?

Thanks and as always greatly appreciated,

Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default time till finished

John Walkenbach has an example of a progress indicator:

http://www.j-walk.com/ss/excel/tips/tip34.htm

Regards
Rowan

"TxRaistlin" wrote:

Hello everyone,

I was wondering if anyone knows how to emulate the percent complete / time
till finished display that is used for software installations. I have a
fairly complicated set of macros that involves sequaentially opening
spreadsheets in thousands of subfolders and reading in and summarizing data
and this currenlty takes around three hours, but could potentially take much
longer as the number of files increases.

I was thinking of something along the lines of counting the total number of
subdirectories under the path, and then using a running average to calculate
average process time for the main do loop, and displaying this as a
calculated percent complete / time till finish status update.

Any thoughts or suggestions?

Thanks and as always greatly appreciated,

Jason

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default time till finished

Look at the Timer function in VBA help. Scatter Timer initialisations in
your code and then do some sort of output of the timings, a text file,
debug.print, or so on.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Rowan" wrote in message
...
John Walkenbach has an example of a progress indicator:

http://www.j-walk.com/ss/excel/tips/tip34.htm

Regards
Rowan

"TxRaistlin" wrote:

Hello everyone,

I was wondering if anyone knows how to emulate the percent complete /

time
till finished display that is used for software installations. I have a
fairly complicated set of macros that involves sequaentially opening
spreadsheets in thousands of subfolders and reading in and summarizing

data
and this currenlty takes around three hours, but could potentially take

much
longer as the number of files increases.

I was thinking of something along the lines of counting the total number

of
subdirectories under the path, and then using a running average to

calculate
average process time for the main do loop, and displaying this as a
calculated percent complete / time till finish status update.

Any thoughts or suggestions?

Thanks and as always greatly appreciated,

Jason



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate from time started and finished to get total time used Novice-Sandra Excel Worksheet Functions 2 June 21st 08 04:31 PM
Loop until finished David A. Excel Discussion (Misc queries) 0 September 17th 07 08:00 PM
msg box with finished time, please read Rowan Excel Worksheet Functions 2 July 2nd 05 02:33 AM
How to count process running time ( process not finished) miao jie Excel Programming 0 January 13th 05 09:23 AM
How to count process running time ( process not finished) miao jie Excel Programming 2 January 12th 05 06:01 AM


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"