+ Reply to Thread
Results 1 to 4 of 4

Track & Record changes

  1. #1
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    846

    Track & Record changes

    Afternoon happy campers!

    My situation:
    Workbook consists of around 10 sheets (departmental time sheets) I have already set certain ranges on each sheet to be protected and other not, so when i password protect the sheet only some ranges can be changed, i have also added VBA to look at the users name opening the sheet, and if it matches one of the defined names, then all protection is removed.
    We will have approx 5 different users modifying this workbook.

    My request:
    How can i get VBA to log what user, makes what changes to what sheet at what time/date.

    Initially it sounded really simple, but im beginning to realise its most likely not a straight forward thing to do

    I would like the data to be collated onto a sheet (within this same workbook) that is always hidden from view and is locked/unlocked in line with the VBA in place.
    Ideally, the data will be along the lines of:

    User - Tom Jones, changed K21 from 12:30 to 12:45 - 11/02/14 @ 13:50
    User - Jim Bob, changed A1 from in to out, changed c17 from days to nights.

    This sort of thing, does not have to remain in the same layout as above at all, just easy and simplistic to understand.
    Is this possible? and if so, would any one like to have a bash at it for me?

    Kind regards.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Track & Record changes

    Done a couple of identical ones before it's easy when you know how
    Can you upload your workbook?
    Elegant Simplicity............. Not Always

  3. #3
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    846

    Re: Track & Record changes

    i could but will take a while to remove all sensitive data
    Is there no code that can simply track changes where ever the changes occur and keep the record on a seperate tab?

  4. #4
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Track & Record changes

    Put the following code into the worksheet code module of all sheets you want to track

    Please Login or Register  to view this content.
    Put this Code in a code module
    Please Login or Register  to view this content.
    Create a new worksheet called EditLog

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 14
    Last Post: 10-07-2013, 04:04 PM
  2. Replies: 4
    Last Post: 12-17-2012, 10:14 AM
  3. Replies: 1
    Last Post: 11-16-2012, 09:25 AM
  4. Command Buttons for Viewing Record, Next Record and Previous Record
    By david1987 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-23-2012, 06:30 AM
  5. Replies: 1
    Last Post: 01-17-2012, 10:47 AM

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