Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Display Elapsed Time like a Stopwatch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
avveerkar - 22 Jan 2006 06:22 GMT
Can some one give me a hint as to how I can write a sub to display
elapsed time meter on the sheet, say in one of the cells? This should
tick evey second while my other macros are running. I want to time
running of my macros but  I want to see this timer ticking every second
as my macros execute and not just show total time elapsed for running my
macros. I think I need to know how to trigger an event automatically
every second and then sink it in my "timer" sub to display the time. I
need hint to generate event every second.

Thanks in anticipation.

Signature

avveerkar

Bob Phillips - 22 Jan 2006 11:00 GMT
I have a workbook that runs a countdown timer. Mail me if you want a copy

bob (dot) phillips (at) tiscali (dot) co (dot) uk

do the obvious with the bits in brackets

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> Can some one give me a hint as to how I can write a sub to display
> elapsed time meter on the sheet, say in one of the cells? This should
[quoted text clipped - 12 lines]
> avveerkar's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30338
> View this thread: http://www.excelforum.com/showthread.php?threadid=503743
Tushar Mehta - 22 Jan 2006 13:47 GMT
If you decide to "roll your own" check out XL VBA help for the OnTime
method.

Signature

Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

> Can some one give me a hint as to how I can write a sub to display
> elapsed time meter on the sheet, say in one of the cells? This should
[quoted text clipped - 6 lines]
>
> Thanks in anticipation.
avveerkar - 22 Jan 2006 16:11 GMT
Tushar Mehta Wrote:
> If you decide to "roll your own" check out XL VBA help for the OnTime
> method.
[quoted text clipped - 14 lines]
> Regards
> A V Veerkar

Signature

avveerkar

Tom Ogilvy - 22 Jan 2006 18:11 GMT
Just to add a bit of information:
Ontime is not preemtive, so it won't update while a macro is running - which
is what you described.

Signature

Regards,
Tom Ogilvy

> Tushar Mehta Wrote:
> > If you decide to "roll your own" check out XL VBA help for the OnTime
[quoted text clipped - 15 lines]
> > Regards
> > A V Veerkar
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.