+ Reply to Thread
Results 1 to 12 of 12

Running Clock

  1. #1
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Running Clock

    Hello is there a way to have a live clock running in a cell with the time of day like below with the seconds ticking?

    8:05:35 AM

    Thank you in advance

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Running Clock

    Enter in any cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Format Custom, hh:mm:ss AM/PM

    Actually you would have to use vba to see seconds ticking
    Last edited by AlKey; 01-30-2018 at 11:54 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Running Clock

    Thank you but it isn't live.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Running Clock

    AlKey, I think he wants a running clock that keeps ticking while the sheet is open (correct me if I'm mistaken).
    I don't think it is possible without VBA.
    here is a link to another site that appears to have addressed it...
    https://www.mrexcel.com/forum/excel-...nto-excel.html
    here is another link that may have addressed it...
    https://www.excelforum.com/excel-pro...ing-clock.html
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Running Clock

    Yes I want a live clock and VBA is most likely the only way.

    Where to put this module please?

    Please Login or Register  to view this content.

  6. #6
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Running Clock

    I attached the file with 'Switchboard' cells E1 and F1 locations for date and running time if that helps.

    Thank you so much for the help
    Attached Files Attached Files

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Running Clock

    I wish I could help but when it comes to VBA I am almost a total novice. When it comes to using VBA the most I can do is copy someone else's code and slightly change things to suit it to my needs.
    I just assumed that your request would need something active like VBA and searched on the subject to get the two links I copied.
    So I'll have to bow out, good luck and I'll be interested to see what develops.

  8. #8
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Running Clock

    Could you possibly refer another expert for me please?

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Running Clock

    I posted your request to the water cooler where they have a thread called call in the calvery for people when they get out of their league or depth here...
    https://www.excelforum.com/the-water...-2018-a-2.html
    Hopefully someone will see it and stop by to assist.

  10. #10
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Running Clock

    Your sample file does not include any regular modules. I am not sure why you have put the code in the sheet4 window. I also note that you did not include all of the procedures (like the SetTime subroutine). Starting from the first mrexcel link that sambo kid posted I:

    1) opened a new, blank workbook and opened the VBE.
    2) In the project explorer pane, I inserted a module.
    3) I copied the standard module code from the post into the new module (steps 1 through 3 are discussed in more detail here: https://peltiertech.com/how-to-use-someone-elses-macro/ )
    4) I placed the cursor anywhere inside of the shcedrecalc procedure and pressed F5 to start the code running.

    At this point, I would guess that the main difficulty is with steps 1 to 3 -- creating a regular module and copying code into it, so review Peltier's essay. Let us know if that helps.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  11. #11
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Running Clock

    Perhaps like this?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  12. #12
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Running Clock

    Perfect thank you for the fix Mr. xlnitwit

+ 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. Continious running clock
    By Cheecochongo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2016, 12:51 PM
  2. Running Clock
    By Pradeep_7777 in forum Excel General
    Replies: 2
    Last Post: 07-17-2014, 08:16 AM
  3. Running Clock Problem
    By imrvlad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2013, 05:25 AM
  4. Running clock in excel 2010
    By Rhett21 in forum Excel General
    Replies: 1
    Last Post: 10-22-2012, 12:18 PM
  5. Excel 2008 : Running clock, but can't use macros
    By dljhwk11 in forum Excel General
    Replies: 1
    Last Post: 05-22-2011, 03:02 PM
  6. Inserting a Running Clock Cell counting down
    By Dedes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2011, 06:17 AM
  7. Inserting a Running Clock Cell
    By rencol in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-19-2011, 01:48 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