+ Reply to Thread
Results 1 to 3 of 3

Date stamp in absolute column

  1. #1
    Registered User
    Join Date
    11-06-2008
    Location
    UK
    Posts
    2

    Date stamp in absolute column

    Ok, I've got a sheet with lots of columns. Each time someone makes a change in any row of any one of those columns, I want it to date stamp it in an extra column on the end so we always know who made the last change to each row and when. The actual entering of the data isn't a problem, the problem I'm having is getting it to always put the data stamp in the right column or row.

    The code I've got is :-

    Please Login or Register  to view this content.
    Which is great if the user presses Enter after typing, but if they press the left or right arrows, the datestamp appears one cell to the left or right of where it's supposed to be. I'm sure it's simple to make it an absolute column but it's doing my head in.

    Thanks!
    Last edited by VBA Noob; 11-06-2008 at 09:22 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531
    Assuming you're using the Worksheet_Change event and you want the date to go in say column J use:

    Please Login or Register  to view this content.
    As Target is a range you can use that as your reference point rather than ActiveCell which as you say may well have changed from Target.

  3. #3
    Registered User
    Join Date
    11-06-2008
    Location
    UK
    Posts
    2
    ...dear lord, I should have thought of that

    Thanks very much indeed, works perfectly!

+ 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