+ Reply to Thread
Results 1 to 6 of 6

Auto date each row

  1. #1
    Registered User
    Join Date
    03-12-2012
    Location
    Ottawa, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    Auto date each row

    Good day,

    I am looking for a way to have a date column that the rows will auto update anytime a change is done on it's respective row. Is there any way of doing this? I am using Excel 2003

    thank you
    marc

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Auto date each row

    In its' simplest form
    This in the worksheet module
    Please Login or Register  to view this content.
    This will add/change the date in column A when anything is changed in columns B to the last column in your worksheet.

    You could also substitute Now() for Date and format column A accordingly.

    You will need to be more specific if you are to avoid unwanted changes.
    Attached Files Attached Files
    Last edited by Marcol; 03-18-2012 at 03:40 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    03-12-2012
    Location
    Ottawa, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Auto date each row

    thank you for the message, I checked your attachment and that is exactly what I am trying to do. But with different columns. What would the code look like if I had the date field in column F and it would update if a change is done on column A-E? Is there a way to lock column F (other than using protection) so it cannot be changed by the user?

    Thank you
    Marc

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Auto date each row

    Okay try this
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-12-2012
    Location
    Ottawa, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Auto date each row

    Thanks again it works perfectly. I was wondering if there is a way to prevent the users from changing the date column. At the moment they are able to delete the date if they like. I tried by enabling protection but it generates an error if I enable it.

    Thanks
    Marc

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Auto date each row

    This will work if you unlock the cells you are allowjng to edit then protect the sheet.
    Please Login or Register  to view this content.
    Note the change to allow for a header row.

    If you use a pasword the change Password:="" to Password:="Your Password" in both instances.
    Attached Files Attached Files

+ 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