+ Reply to Thread
Results 1 to 5 of 5

Need Date Stamp when any cell in that row changes

Hybrid View

  1. #1
    Registered User
    Join Date
    03-24-2010
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    4

    Need Date Stamp when any cell in that row changes

    Hi,

    I need to create a date stamp for each time a record (row) is updated and address certain conditions that may exist in that row. I searched for an already posted solution but didn’t see this specific scenario.

    I have several spreadsheets in a workbook where each row is a record and each column is a variable about that record (sample attached). Some columns will be dates, some will be numbers and some will be text. Some will be generated from data validated lists and some will be hand entered. Some columns may not have any data entered at the time a change is being made.

    Each time someone enters new information or changes existing information in that row, I would like to populate the last data entry column that row with a date stamp (hours/minutes not required, prefered format is MM/DD/YY). This should happen even when someone changes data based on a drop down list or when a previously blank cell now has an entry.

    This solution will need to work for multiple spreadsheets with different numbers of columns, sometimes the date stamp may appear in column F, sometimes in Column K so I need to be able to adjust it. For this reason I’m hoping that this could be achieved through functions and not VBA script.

    Thanks,
    Peter
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need Date Stamp when any cell in that row changes

    Hi Peter.

    See if this can helps you.

    http://www.mcgimpsey.com/excel/timestamp.html
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-24-2010
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need Date Stamp when any cell in that row changes

    Quote Originally Posted by Fotis1991 View Post
    Hi Peter.

    See if this can helps you.

    http://www.mcgimpsey.com/excel/timestamp.html
    Thanks Fotis. As I look at the code (the formula doesn't seem to work for a range of cells) I think it could do what I need but I'm all thumbs with inserting VB code.

    How do I embed the code into my workbook/worksheet - I want to call up this code for multiple worksheets in different columns?

    How do I reference the specific column or cells where I want the date stamp to appear?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need Date Stamp when any cell in that row changes

    Unfortunately, i am a VBA noob!

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Need Date Stamp when any cell in that row changes

    Hi Peter,

    Try this...

    I've commented the code which is pretty straight forward so should be somewhat easy to understand.

    Please let me know if you have any questions.

    This is sheet level code. Right click on the sheet tab >> view code
    Attached Files Attached Files
    HTH
    Regards, Jeff

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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