+ Reply to Thread
Results 1 to 5 of 5

Tracking Changes Excel

  1. #1
    Registered User
    Join Date
    07-30-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    51

    Tracking Changes Excel

    Would it be possible to track changes made to specific cells in a spreadsheet. Ids for the users IDs are all set.

    Example

    2 Users (A, B)

    A, made a change to cell A4 and saved the sheet. B4 would say last changed by "A" at " "Time, Date"

  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: Tracking Changes Excel

    This will work on the worksheet you place the code.

    It is only an example it will work for all cell changes as it stands.

    You will have to limit it to the cells you want and consider protecting the sheet.

    Paste this in a worksheet module in VBa


    Please Login or Register  to view this content.

    EDIT:

    Hold that result wrong username that's just who the copy of office is registered to

    See Post #4 for explianation
    Last edited by Marcol; 03-22-2010 at 07:44 AM. Reason: wrong username

  3. #3
    Registered User
    Join Date
    07-30-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: Tracking Changes Excel

    * Slight modification

    I would like this to work in the background. It would track changes on Sheet1 and would be entered into Sheet1.

    Right now, the change is offset by 0,1. I would like it to be offset 0,1 on Sheet2 and not one.

    Thanks
    Last edited by hassankhan; 03-22-2010 at 06:18 AM.

  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: Tracking Changes Excel

    In Sheet2 put the following Headers beginning A1

    Old Value, New Value, Cell, Changed on at by

    Paste all of this code into Sheet1 worksheet module

    N.B. OldVal / NewVal must be declared outside of the procedures as shown.

    Please Login or Register  to view this content.


    EDIT:

    Hold that result wrong username that's just who the copy of office is registered to

    Give me 10mins Sorry

    EDIT:

    Corrected the code above rather than leave an error on the BB
    Last edited by Marcol; 03-22-2010 at 07:36 AM. Reason: Wrong UserName

  5. #5
    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: Tracking Changes Excel

    Hi Again

    This avoids the API call.......simples!

    Please Login or Register  to view this content.

    N.B.

    The function Environ() is Not Available to Macintosh users.

    Multi-Cell selections, filldown, multi-delete, delete row, etc. These changes will not be Audited. To cover these conditions much more coding is required.
    Last edited by Marcol; 03-22-2010 at 09:38 AM. Reason: Really bad hair day!

+ 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