+ Reply to Thread
Results 1 to 3 of 3

Continuous Clock in excel sheet and date that updates automatically and starts as soon as

  1. #1
    Registered User
    Join Date
    08-28-2015
    Location
    South Africa
    MS-Off Ver
    2007
    Posts
    2

    Continuous Clock in excel sheet and date that updates automatically and starts as soon as

    Hi

    I need to add a Continuous Clock in excel sheet and date that updates automatically and starts as soon as soon as the program starts


    I have tried various ones that i have found but it does not update or puts into multiple sheets

    The program I made : I need the info on Sheet 2 ("Invoice")
    and only in this workbook

    I need the current date every day in E5 and the continuous clock in E28 and I need the clock to start and date to update as soon as the program is opened and it must be a continuous clock


    Please Please Please

    Help !!!!

    Debra

  2. #2
    Registered User
    Join Date
    08-06-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    68

    Re: Continuous Clock in excel sheet and date that updates automatically and starts as soon

    The NOW() formula would provide the date+time you need. However, these do not refresh automatically but only when asked to recalculate or when opening the workbook. I did find something that might help you but maybe not:
    http://www.mrexcel.com/forum/excel-q...worksheet.html
    You can continue searching for a way to autorefresh the NOW() formula though.

  3. #3
    Registered User
    Join Date
    08-28-2015
    Location
    South Africa
    MS-Off Ver
    2007
    Posts
    2

    Re: Continuous Clock in excel sheet and date that updates automatically and starts as soon

    Here is the one I have been testing ....it puts date and time in all sheet in workbook.... and it doesnt update when reopened ... the problem with the Now() is that my invoices are saved in excel format as i havent quiet figured out how to pdf the vba yet.... still learning.... so when I have to reopen the invoices then the current date gets set and not the invoice date



    Dim SchedRecalc As Date

    Sub SetTime()

    SchedRecalc = Now + TimeValue("00:00:01")
    Application.OnTime SchedRecalc, "Recalc"
    End Sub

    Sub Recalc()
    Set WS2 = Worksheets("Invoice")
    Range("E28").Value = Time
    Range("E5").Value = Format(Now, "dd-mmm-yy")
    Call SetTime
    End Sub

    Sub Disable()
    On Error Resume Next
    Application.OnTime EarliestTime:=SchedRecalc, Procedure:="Recalc", Schedule:=False
    End Sub

+ 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. Master sheet updates and sub sheet automatically update as well
    By charscribbles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2014, 09:42 PM
  2. Time Study - Continuous running clock mixed with stops
    By jorjacman in forum Excel General
    Replies: 0
    Last Post: 01-10-2014, 09:55 AM
  3. Replies: 2
    Last Post: 12-05-2012, 07:57 PM
  4. Updating report in one sheet automatically updates another
    By colleyvillesooner in forum Excel General
    Replies: 1
    Last Post: 12-24-2008, 05:06 PM
  5. Replies: 1
    Last Post: 07-14-2006, 03:15 PM
  6. Excel automatically starts another sheet when calculating formula
    By Excel opens other files in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2006, 12:45 PM
  7. Auto updates - Clock
    By tom300181 in forum Excel General
    Replies: 0
    Last Post: 08-05-2005, 06:13 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