Results 1 to 6 of 6

Track Cell History in Comment?

Threaded View

alex8447 Track Cell History in Comment? 07-29-2011, 09:38 AM
shg Re: Track Cell History in... 07-29-2011, 09:51 AM
alex8447 Re: Track Cell History in... 07-29-2011, 10:27 AM
alex8447 Re: Track Cell History in... 07-29-2011, 11:10 AM
shg Re: Track Cell History in... 07-29-2011, 12:28 PM
Palmetto Re: Track Cell History in... 07-29-2011, 09:17 PM
  1. #1
    Registered User
    Join Date
    07-29-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Track Cell History in Comment?

    Hey folks!

    I am new to the site, have been a lurker for some time now grabbing code left and right when I need it but I have run into an issue I do not know the code for.

    What I need to do is track each change within each cell from B4 to BC711 with a comment on the cell that shows what was previously in the cell before the change, as well as track the User, Date and Time of the Last Edit of the cell, (need all of this in the comment of each cell). (All for Excel 2007 in Windows XP)

    I currently have the code to track the User, Time, and Date of each edit of each cell with a comment, but it is for the entire spreadsheet.


    Here is the code I am currently using:
    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    Dim ccc As Range
    Dim comment As String
    comment = ("Cell Last Edited: ") & Now & (" by ") & Application.UserName
    Target.Cells.NoteText comment
    End Sub
    So I was wondering if anyone knows the code for this?
    Last edited by alex8447; 07-29-2011 at 09:51 AM.

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