+ Reply to Thread
Results 1 to 3 of 3

automatically working formula

Hybrid View

  1. #1
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: automatically working formula

    You'll need to use VBA.

    See Help for the OnTime method.
    Entia non sunt multiplicanda sine necessitate

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: automatically working formula

    Maybe like this.

    In ThisWorkbook:
    Private Sub Workbook_Open()
        Application.OnTime Date + TimeValue("08:00"), "AddOneEveryFive"
    End Sub
    In a code module:
    Sub AddOneEveryFive()
        With Range("A1")
            If IsNumeric(.Value) Then .Value = .Value + 1
        End With
        
        If Time < TimeValue("15:55") Then
            Application.OnTime Now + TimeValue("00:05"), "AddOneEveryFive"
        End If
    End Sub

+ 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