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"
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"
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
* 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.
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
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!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks