+ Reply to Thread
Results 1 to 34 of 34

create a chronometer on excel

  1. #1
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    create a chronometer on excel

    Hello everybody,

    firstly I am sorry for my bad english level. I hope you will understand my problem. I have a chronometer on excel that I would like to modify by adding features. I attach the file.
    I would like to time with intermediate times with an alarm when a time (target value) is reached.
    For example: I start the timer: click ... click 5 sec. Click .... Click 3 sec. Click .... click. 2 sec
    ok 2 sec is my target value, I have an alarm.

    Ideally, knowing that it is difficult to have exactly the same value, it would be necessary to integrate a% close to the target value to consider that the target value is reached.

    Is it possible?

    Thank you all
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    In the mTimer3 module :

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    What happens with the module3?

  4. #4
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    sorry I did not see the rest of the message...

  5. #5
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    Hmm, when I insert the code, nothing happens.I am really bad. How do I insert the code into the file?

  6. #6
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: create a chronometer on excel

    This is a bit off-topic, but on my machine, Chrono 1 was "counting" about 36 seconds per actual minute. The following code fixed that:
    Please Login or Register  to view this content.
    Last edited by leelnich; 12-03-2017 at 02:35 PM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Right click FEUIL1

    Left click VIEW CODE

    Double click mTimer3

    Replace Private Sub Chrono() with :

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    tks leelnich, my file probably contains a lot of errors

    in fact, I think that my basic code is very incomplete to add independant intermediate times with a beep when one of these times is reached
    In fact, I want to take the time of every turn of a wheel.
    that's why I have to press every time a button to have the passage time
    do you think it's possible?

  9. #9
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    Nobody want to help me?

  10. #10
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    Quote Originally Posted by majib View Post
    Nobody want to help me?
    Post #7 ??

  11. #11
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    Hi Logit,

    yes I saw your post but I do not see any differences, probably I'm doing something wrong ....

    Im' sorry

  12. #12
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Open your Module: mTimer3.

    Delete everything you have in the module and replace it with this :

    Please Login or Register  to view this content.
    Then run Chrono 3. At 59:55 you should hear a sound.


    The attached has already been changed and works here.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    YES great thank you logit, I hear the beep
    but in fact I wanted the other way 0.1.2.3.4. in the chrono 1. I misspoke in my previous posts
    I saw on the code where I can change the time value for the beep


    promised after I do not bother you anymore

  14. #14
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    I wanted the other way 0.1.2.3.4. in the chrono 1. I misspoke in my previous posts
    Sorry ... I don't understand.

  15. #15
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Red face Re: create a chronometer on excel

    ok, the code you gave me is for the timer3 but the timer3 is a countdown
    i need the same thing for the timer1 with a beep at 1sec

    although my English is not good, I prefer your forum; people are much more friendly and available.

  16. #16
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Replace the macro code in mTimer with this:

    Please Login or Register  to view this content.

  17. #17
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    hummm,

    there is not an error in the code?

  18. #18
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Not here.
    Attached Files Attached Files

  19. #19
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: create a chronometer on excel

    @ Logit,

    Please don't test my temper!

    Your attachment does not download without an error message that there is a problem with the file extension "xls.xlsm".

    Maybe just upload it as an xlsm File.

    Kind regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  20. #20
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    i become crazy with the timer lol

    i dont heard the beep

  21. #21
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    WINON !!! Hey brother !

  22. #22
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Ok .. here it is as an .XLSM format.
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    12-03-2017
    Location
    FRANCE
    MS-Off Ver
    2017
    Posts
    12

    Re: create a chronometer on excel

    logit,

    tks a lot

    it's 10:PM here now i can sleep easy lool

    bye

  24. #24
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Have a good night.

    Cheers.

  25. #25
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: create a chronometer on excel

    @ Logit,

    Hi Buddy,

    Thank you for the downloadable attachment. It works well whenever you click on any Button. But when you close any Userform and then close the Workbook, an error message appears " Microsoft Excel has stopped working", and either "Check online for a solution and close the program", or "Close the program". I can't find the problem.

    Regards.

  26. #26
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: create a chronometer on excel

    @ Winon - Hey buddy, the problem you describe didn't happen on my system

    @ Logit - Did it error out for you???
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  27. #27
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    No errors here.

    Winon .... are you be disingenuous ?

  28. #28
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: create a chronometer on excel

    @ xladept,

    Thank you for your interest Orrin, I appreciate it.

    @ Logit,

    Winon .... are you be disingenuous ?
    I honestly don't know. Have done a Complete Computer Virus Scan. No problems. Then I did a CHKDSK (Looong procedure), No problems. Then I cleared the Cache and any related issues, but the problem as mention persists!
    Could it maybe have something to do with the VBE Properties Settings relating to the Workbook itself?

    I am running Office 2010 on Windows 7.

    Thanks Guys.

  29. #29
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    Hmmm ........

  30. #30
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: create a chronometer on excel

    @ xladept and Logit,

    It would appear that I have identified the problem, which seems to do with the Add-In "KuTools" for Excel. The moment I deleted it from Excel the problem has not presented itself again.

    Do you guys perhaps know if this is a general issue with "KuTools"?

    Logit, your last attachment downloaded without a problem. Thanks.

    'Till later then my Friends.

  31. #31
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: create a chronometer on excel

    Hi Tjaart,

    I have nothing to do with KU Tools but only from ignorance not conviction

    Orrin

  32. #32
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: create a chronometer on excel

    Thank you Orrin,

    That is very well sated!

    Have you considered a career in Politics yet?

  33. #33
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: create a chronometer on excel

    @ Winon - politics??

    I've never molested anyone and have never claimed to.

    Besides, almost all of them are my juniors

  34. #34
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,404

    Re: create a chronometer on excel

    .
    KuTools is a secret weapon of the 'Shadow Government', that has global plans to rule the world.

    Deleting it from your computer was the best thing you could do.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Countdown Chronometer
    By score in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-28-2017, 07:15 PM
  2. How to create an Stopwatch (chronometer) using two buttons.
    By DiogoamCoutinho in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-28-2015, 10:40 AM
  3. Create a function to create a new excel file
    By srbelle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-26-2015, 07:04 AM
  4. Replies: 7
    Last Post: 09-29-2014, 09:24 AM
  5. Replies: 3
    Last Post: 06-27-2012, 02:25 PM
  6. Replies: 3
    Last Post: 09-30-2011, 04:35 AM
  7. Replies: 2
    Last Post: 08-18-2006, 07:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1