Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Code referencing the system clock?

I'm trying to create a progress indicator that is based strictly on the
system clock. The UserForm has two labels.... lblBottom and lblTop....
Processing time is 5 minutes using multiple macros which could include
an update macro. If anyone has a suggestion as to the code required?
I would really appreciate seeing it! Thanks in advance



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Code referencing the system clock?

Here is John Walkenbach's instructions on creating a progress indicator:
http://j-walk.com/ss/excel/tips/tip34.htm

Since you are opening files, you don't seem to want to admit that
a) the progress indicator must be updated by your code
b) while the files are being opened, your code is suspended.

If you wanted to progress the indicator every 30 seconds as an example
within your 5 minute span, then your code would need to be running at each
of the 30 second marks.

If this is possible, it would require use of the Windows api and some
separate process closer to the operating system.

--
Regards,
Tom Ogilvy

"mcdowell" wrote in message
...
I'm trying to create a progress indicator that is based strictly on the
system clock. The UserForm has two labels.... lblBottom and lblTop....
Processing time is 5 minutes using multiple macros which could include
an update macro. If anyone has a suggestion as to the code required?
I would really appreciate seeing it! Thanks in advance



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
Calculating a future date using system clock & time remaining Steve Chalom[_2_] Excel Worksheet Functions 1 November 5th 09 03:11 PM
TIME CLOCK code? Jase Excel Discussion (Misc queries) 4 April 30th 08 10:00 PM
TIME CLOCK CODE Jase Excel Discussion (Misc queries) 0 April 29th 08 06:46 PM
Harvard Referencing System for books CASSSIA New Users to Excel 2 June 16th 06 10:09 PM
Setting the system clock with excel ccdubs Excel Programming 3 August 7th 03 09:21 PM


All times are GMT +1. The time now is 08:21 AM.

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"