+ Reply to Thread
Results 1 to 5 of 5

update timestamp if change_event for all column in row

  1. #1
    Registered User
    Join Date
    04-06-2012
    Location
    San Bruno, USA
    MS-Off Ver
    Excel 2003
    Posts
    32

    update timestamp if change_event for all column in row

    Hi, all

    I've found this super info by se1499
    http://www.excelforum.com/excel-work...date-date.html
    or
    http://www.exceldigest.com/myblog/20...amp-in-a-cell/
    that use this code to insert timestamp on the right of "A" cell.
    Please Login or Register  to view this content.
    It works only for any COLUMN A change, and use offset location for target cell (as I understand--)
    How I can modify this code to make it work if specific list of cell in the single ROW has changed (e.g. B1..J1 ==> 10 cell row.
    - and make timestamp also tobe in specific cell (let say in A1, or K1)

    and to make it work for all rows. Can I do this this VB? or maybe use forms?

    Appreciate your help, I'm trying to help one non-prof office to fill their food orders correctly, but I'm not that good in in VB, and they definetely can not go anywhere from Excell already provided to them by MS. THey just need to keep good log of all orders and their changes/cancellataions.


    Tx to all
    Dai
    Last edited by dainova; 04-06-2012 at 03:12 PM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: update timestamp if change_event for all column in row

    It sounds like you're mixing up rows and columns. Your current code works on any cell in column A, are you saying that you only want the timestamp to be applied if certain rows in column A are changed? If so then something like this should work:

    Please Login or Register  to view this content.
    sTARGET_CELL controls where the timestamp is written, so you can change that to any cell you want to use.

    Edited to add: And the line:

    Please Login or Register  to view this content.
    Controls which rows will update the timestamp. So it's currently set to stamp if cells A2, A5 or A10 change. If you've got quite a long list of rows then there may be easier ways to do this.

  3. #3
    Registered User
    Join Date
    04-06-2012
    Location
    San Bruno, USA
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: update timestamp if change_event for all column in row

    Thanks, Andrew.
    Trying it right now.

    Sorry if I mispresent my case..
    I basically have order detail line in 10 columns for each row (A1,B1,....K1), let say 50 rows, one row for each order. THere is also header.
    I put initial timestamp with iteration formula in A* column upon entering initial information for each row, but need to change this stamp or make another one on each row, if any column in detail row has been changed.


    Best
    Dai
    Last edited by dainova; 04-06-2012 at 07:36 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: update timestamp if change_event for all column in row

    Try this. This will update Column A with the current date/time based on any changes in columns B:J

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-06-2012
    Location
    San Bruno, USA
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: update timestamp if change_event for all column in row

    MallyCat!

    Thanks a bunch for another supervalued post, it works like a charm!
    Australia is the best!!

    Dai

+ 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