+ Reply to Thread
Results 1 to 4 of 4

Date, time and user stamp if cells updated

  1. #1
    Registered User
    Join Date
    05-29-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    58

    Date, time and user stamp if cells updated

    I have some information in 3 cells - here is an example;

    A1=StartDate, A2=EndDate, A3=Days

    If ANY of these 3 cells are changed I would like A4 to update with the current date and time and A5 to update with the current user. I will then extend this out to work on all rows [I have about 20 rows of info like this].

    On top of this, if any of those 3 cells are changed again, I would like cell A6 to update with the current date and time and A7 to update with the current user.

    This would create a log on when the info was created and when it was last updated.

    Is this possible?

    Thanks in advance,
    Sam

  2. #2
    Registered User
    Join Date
    05-29-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    58

    Re: Date, time and user stamp if cells updated

    I see there are no bites on this one. If we exclude the second part of the problem for now. Is it possible to just do the first part, which is;

    I have some information in 3 cells - here is an example;

    A1=StartDate, A2=EndDate, A3=Days

    If ANY of these 3 cells are changed I would like A4 to update with the current date and time and A5 to update with the current user. I will then extend this out to work on all rows [I have about 20 rows of info like this].
    I'm guessing this will be a VBA code?

    I'd really appreciate any help offered.
    Thanks,
    Sam

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Date, time and user stamp if cells updated

    Hi, Sam,

    right-click on the worksheet tab, choose View Code and paste the code into the code window:
    Please Login or Register  to view this content.
    Any manual change or entry in Columns A to C on that sheet will trigger the event if macros are enabled and will start reporting as you want (no error handling for reaching the last column here ).

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    05-29-2010
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    58

    Re: Date, time and user stamp if cells updated

    Quote Originally Posted by HaHoBe View Post
    Hi, Sam,

    right-click ...

    Thanks very much!

+ 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