+ Reply to Thread
Results 1 to 4 of 4

Record type of cell editing

  1. #1
    Registered User
    Join Date
    03-09-2009
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2007
    Posts
    9

    Record type of cell editing

    How can I capture how a cell was edited (i.e., contents deleted, content added, contents formated, etc) using vba?

    I have written code that succesfully records the username, computer name, and cell(s) reference changed. Now I want to also capture 'how' the same cell was changed. I am using this for tracking purposes using the worksheet_change property.

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Record type of cell editing

    I think you may have to keep a duplicate sheet and reference the difference. Shouldn't be that hard. Just trap the change event on the work sheet to first compare with the reference sheet, the commit the changes in the main sheet back to the reference sheet.

  3. #3
    Registered User
    Join Date
    03-09-2009
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Record type of cell editing

    There must be an easier way. I already track the changes (username, computer name, cell changed, and new contents of the cell changed). I just want to record one more item and that is the type of change that occured. For example, if a cell originally had some content (say a formula) and the formula was changed, I want to record something like formula changed in addition to the data above. I am tracking every change to a specific sheet and incrementally increasing the recorded information on another sheet row by row starting at Row 1 so that I have a complete history of all the changes over time. I automatically save the file each time a change is recorded and my summary sheet is very hidden so nobody can see it.

  4. #4
    Registered User
    Join Date
    03-09-2009
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Record type of cell editing

    Well I know there has to be someone smart enough out there to record this one last piece of information.......please help

+ 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