+ Reply to Thread
Results 1 to 4 of 4

Get an Update of Old Value & New Value (Track Changes) History in another sheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Get an Update of Old Value & New Value (Track Changes) History in another sheet

    Thank You So Much!
    Last edited by Rajeshkumar R; 10-18-2017 at 02:33 PM. Reason: Query Resolved

  2. #2
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Get an Update of Old Value & New Value (Track Changes) History in another sheet

    Dear Experts,

    Looking forward your valuable input on this query!

    Immediate support is really appreciated!

    Thanks & Regards,
    Rajeshkumar R

  3. #3
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Get an Update of Old Value & New Value (Track Changes) History in another sheet

    Dear Expert,

    Above code I got it from below link

    https://www.youtube.com/watch?v=llfrKfpNNf0

    Could you please help me in Customizing Code to my requirement as mentioned above!

    Thanks & Regards,
    Rajeshkumar R

  4. #4
    Forum Contributor
    Join Date
    01-07-2012
    Location
    Bangalore
    MS-Off Ver
    Office 365
    Posts
    368

    Re: Get an Update of Old Value & New Value (Track Changes) History in another sheet

    Dear Friends,

    Below code helped me to meet subjected Requirement:-

    Dim Oldvalue As String
    Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
        If Sh.Name = "Data" Then
            If Not Intersect(Target, Sh.Range("AO2:EE1000")) Is Nothing Then
                Application.EnableEvents = False
                With Worksheets("LogDetails")
                    .Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Value = UCase(Environ("username"))
                    .Range("A" & Rows.Count).End(xlUp).Offset(0, 1).Value = Format(Now, "DD-MMM-YYYY HH:MM:SS")
                    .Range("A" & Rows.Count).End(xlUp).Offset(0, 2).Value = Cells(ActiveCell.Row, "AN").Value
                    .Range("A" & Rows.Count).End(xlUp).Offset(0, 3).Value = Cells(1, ActiveCell.Column).Value
                    .Range("A" & Rows.Count).End(xlUp).Offset(0, 4).Value = Oldvalue
                    .Range("A" & Rows.Count).End(xlUp).Offset(0, 5).Value = Target.Value
                End With
            End If
        End If
        Application.EnableEvents = True
    End Sub
    Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
    Oldvalue = Target.Value
    End Sub
    Thanks & Regards,
    Rajeshkumar R

+ 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. Excel Track Changes History Sheet Keeps Disappearing
    By excel12121 in forum Excel General
    Replies: 0
    Last Post: 06-08-2016, 09:05 PM
  2. Add-in track trail changes with history
    By souza.eq in forum Excel General
    Replies: 4
    Last Post: 07-13-2015, 02:51 PM
  3. Track Cell History in Comment?
    By alex8447 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2011, 09:17 PM
  4. [SOLVED] Excel should let me track my paychecks and salary history.
    By kscherry2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  5. Excel should let me track my paychecks and salary history.
    By kscherry2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. Excel should let me track my paychecks and salary history.
    By kscherry2000 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-03-2005, 11:05 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