+ Reply to Thread
Results 1 to 13 of 13

Digital clock on excel

  1. #1
    Registered User
    Join Date
    01-14-2008
    Posts
    76

    Digital clock on excel

    hello

    Is ther any way i can get a digital clock on excel that changes or updates every second, i know htere is a "=now()" function but this does not change per second

    thanks in advance

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    See Andy's examples here

    http://www.andypope.info/fun/clocks.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    01-14-2008
    Posts
    76
    thanks bro
    thats what i want but i need it to be on a one individual cell

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning shilpz

    Format cell A1 to a time format of your choice then run this macro. It will update the cell every second :
    Please Login or Register  to view this content.
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  5. #5
    Registered User
    Join Date
    01-14-2008
    Posts
    76

    i dont get it

    where do i copy the code to i dont understand it i formated the cell A! to time
    ad pasted the forumula on a button but when i click the button

    can you plz send it to me in a xls file plz

    thanks in advance

  6. #6
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi shilpz

    Find zipped file, time.zip attached.

    HTH

    DominicB
    Last edited by dominicb; 08-19-2008 at 04:30 AM.

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I've put Domenic's code in this workbook, it's triggered when the workbook opens
    Attached Files Attached Files

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You weren't there a minute ago Domenic!

  9. #9
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi royUK
    Quote Originally Posted by royUK
    I've put Dominic's code in this workbook, it's triggered when the workbook opens
    Great minds ... and all that kind of thing
    I actually called the module from the Workbook_Open event, and also added something into the Workbook_BeforeClose event cancelling the OnTime macro which can cause an error when the file is closed.

    DominicB

  10. #10
    Registered User
    Join Date
    01-02-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Question Re: Digital clock on excel

    Quote Originally Posted by royUK View Post
    I've put Domenic's code in this workbook, it's triggered when the workbook opens
    Hello Roy,
    I tried your code and the clock works fine. It is exactly what I want as I require the clock to run automatically when I open the workbook. The only problem is that when I save and close the workbook it re-opens again automatically. If I shut down Excel completely (i.e. "EXIT") this does not happen. I do not always want to shut down Excel as I have other workbooks open. Is there a fix for this problem?
    I am using Excel 2003 with Windows XP
    Thank You
    Maltese Falcon

  11. #11
    Registered User
    Join Date
    12-31-2011
    Location
    West Bengal
    MS-Off Ver
    Excel 2007
    Posts
    76

    Smile Re: Digital clock on excel

    Its so nice, its helped me too...Thanks..a lot

  12. #12
    Registered User
    Join Date
    12-31-2011
    Location
    West Bengal
    MS-Off Ver
    Excel 2007
    Posts
    76

    Re: Digital clock on excel

    It happend to me also, what I did is...just disable the macro...again when I reopen it, I enable the same.

    Senjuti

  13. #13
    Registered User
    Join Date
    05-31-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Digital clock on excel

    Thanks for your Macro,It is working fine, again Thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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