Hi,
Can anyone help me on how to show progress bar for both percentage completion and time left.
The code below is already created with percentage completion. Just to add time left.
![]()
Please Login or Register to view this content.
Hi,
Can anyone help me on how to show progress bar for both percentage completion and time left.
The code below is already created with percentage completion. Just to add time left.
![]()
Please Login or Register to view this content.
Hi, see my post #27 in this thread:
http://www.excelforum.com/excel-prog...ml#post3712514
The problem is how to define the time the macro would take (this would vary on what the data is you are copying from A1, what your machine specification is, how much of the CPU is available to the application at a given time etc etc). You will need to run your macro to get an idea of how long it takes but it will only ever be very approximate.
Maybe you could do something like:
Which might give you some idea, but it would need to be a measureable amount of time (>1 second) to complete one loop.![]()
Please Login or Register to view this content.
This assumes that each loop will take the exact same amount of time, which might work for something simple but based on the code in your other post this will certainly not be the case, so the time left estimate using this method would be useless.
Last edited by ragulduy; 05-28-2014 at 11:39 AM.
Similarly,
![]()
Please Login or Register to view this content.
Entia non sunt multiplicanda sine necessitate
Hi ragulduy,
Thanks for the details explanation. Now I am fully understand why the left display by windows when we copy and paste file from one folder to another always inaccurate..
The code above working fine but the time left not display in time format.
I have added this but still the same.
It display long number, maybe need to convert to time format. e.g. XX Mins, XX Sec.![]()
Please Login or Register to view this content.
Hi shg,
Thanks for your vba code.
I want question on your declaration f = Timer , and fETC = (1 / fPct - 1) * (Timer - f).
If possible, I want to convert to time format. e.g. XX Mins, XX Sec. please help thanks.
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks