+ Reply to Thread
Results 1 to 5 of 5

Write Current Time Next To Changed Cell (without updating it)

  1. #1
    Forum Contributor
    Join Date
    11-29-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    106

    Write Current Time Next To Changed Cell (without updating it)

    Hi,

    I need to record time next to eg.: W3 cell,
    now i'm using below formula :

    =IF(W3<>"",NOW(),"")

    but the NOW function keep updating time itself,
    is there any VBA code or function that I can use with this formula ?

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Write Current Time Next To Changed Cell (without updating it)

    Just enter Ctrl-; and space and Ctrl-:

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Write Current Time Next To Changed Cell (without updating it)

    Copy the below code and do right click on sheet tab and select view code and paste it.

    Close the VBA window (Alt+Q to close VBA window) and return to that sheet and check.

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Write Current Time Next To Changed Cell (without updating it)

    There is a sneaky way to do this with a circular reference, but before W3 is populated the value will be zero, not blank. That may not get you exactly what you want. You could add conditional formatting to hide the text when the value is zero.

    This formula is put into X3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Forum Contributor
    Join Date
    11-29-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    106

    Re: Write Current Time Next To Changed Cell (without updating it)

    Thank you guys,

    I tried all 3 methods and all working just fine, just need to choose which one to use

    Thank you again

+ 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] Finding current active row and write column A:s value in cell D3
    By a94andwi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-03-2014, 05:00 PM
  2. [SOLVED] How do you write the current time to a variable and check it later?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2013, 03:04 PM
  3. How to detect row changed date and time? Is it need to write a macro?
    By cheeloont in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-12-2010, 11:29 PM
  4. Automatic Recording of current time when Specific Cell is Changed
    By Regan_Mitchell in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-26-2010, 06:22 AM
  5. write current time next to changed cell
    By bdepizzol in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2009, 01:17 PM

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