Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I insert a timer in an excel worksheet?

I have crated a worksheet for some mental sums. I would like to insert a
timer function, say to complete 10 sums in 1 minute. How Can I do this? Can
someone help? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default How do I insert a timer in an excel worksheet?

Another case of showing you being easier than telling you. Hope you can
understand VBA code at least a little. Download this workbook and examine
the code in the code module. Obviously the workbook contains macros, so its
functionality will be determined by your Macro Security settings.

Any questions you have, I'll try to answer. It's kind of a fully functional
thing, I just hope you can adapt it to whatever work you've already done.
http://www.jlathamsite.com/uploads/for_Khaarthic.xls

I guess the important things to tell you about the code is that the Timer
returns time in seconds since midnight, so you use a value like 60 for 60
seconds to be added to the time the test starts for a check. You'll see a
loop containing a DoEvents statement - the program actually loops in there
for the time allowed until the time is up or they click the [STOP] button
I've provided. The DoEvents lets the system take care of other business like
them entering their answers on the worksheet while the timer is keeping track
of the time used.


"Khaarthic" wrote:

I have crated a worksheet for some mental sums. I would like to insert a
timer function, say to complete 10 sums in 1 minute. How Can I do this? Can
someone help? Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I insert a timer in an excel worksheet?

Thank you very much for your help. Your effort in creating the sample is
greatly appreciated.


"JLatham" wrote:

Another case of showing you being easier than telling you. Hope you can
understand VBA code at least a little. Download this workbook and examine
the code in the code module. Obviously the workbook contains macros, so its
functionality will be determined by your Macro Security settings.

Any questions you have, I'll try to answer. It's kind of a fully functional
thing, I just hope you can adapt it to whatever work you've already done.
http://www.jlathamsite.com/uploads/for_Khaarthic.xls

I guess the important things to tell you about the code is that the Timer
returns time in seconds since midnight, so you use a value like 60 for 60
seconds to be added to the time the test starts for a check. You'll see a
loop containing a DoEvents statement - the program actually loops in there
for the time allowed until the time is up or they click the [STOP] button
I've provided. The DoEvents lets the system take care of other business like
them entering their answers on the worksheet while the timer is keeping track
of the time used.


"Khaarthic" wrote:

I have crated a worksheet for some mental sums. I would like to insert a
timer function, say to complete 10 sums in 1 minute. How Can I do this? Can
someone help? Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do I insert a timer in an excel worksheet?

:*(** You took the link down? Do you still happen to have that file?

"Khaarthic" wrote:

Thank you very much for your help. Your effort in creating the sample is
greatly appreciated.


"JLatham" wrote:

Another case of showing you being easier than telling you. Hope you can
understand VBA code at least a little. Download this workbook and examine
the code in the code module. Obviously the workbook contains macros, so its
functionality will be determined by your Macro Security settings.

Any questions you have, I'll try to answer. It's kind of a fully functional
thing, I just hope you can adapt it to whatever work you've already done.
http://www.jlathamsite.com/uploads/for_Khaarthic.xls

I guess the important things to tell you about the code is that the Timer
returns time in seconds since midnight, so you use a value like 60 for 60
seconds to be added to the time the test starts for a check. You'll see a
loop containing a DoEvents statement - the program actually loops in there
for the time allowed until the time is up or they click the [STOP] button
I've provided. The DoEvents lets the system take care of other business like
them entering their answers on the worksheet while the timer is keeping track
of the time used.


"Khaarthic" wrote:

I have crated a worksheet for some mental sums. I would like to insert a
timer function, say to complete 10 sums in 1 minute. How Can I do this? Can
someone help? Thanks

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I insert AutoText in an Excel worksheet? Marina Z. Hallworth Excel Discussion (Misc queries) 2 May 22nd 06 02:27 PM
Insert a word doc as a worksheet in an excel workbook? Jenna Excel Discussion (Misc queries) 1 February 23rd 06 11:38 PM
Cannot use Data Analysis tools on Excel worksheet embedded in PwrP SRG Excel Worksheet Functions 1 January 31st 06 08:01 AM
Excel 2003, Convert EXISTING Worksheet Data to XML? [email protected] Excel Discussion (Misc queries) 4 November 16th 05 04:45 AM


All times are GMT +1. The time now is 03:00 PM.

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

About Us

"It's about Microsoft Excel"