+ Reply to Thread
Results 1 to 8 of 8

Track multiple changes as a comment

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    beijing, china
    MS-Off Ver
    Excel 2007
    Posts
    4

    Track multiple changes as a comment

    Hey everyone,

    I've been struggling with the following problem for a while. I want to change a VBA Code so it doesn't only display the last change made, but in the best case the last 4 or 5 changes made to a cell, as a comment (without having to share the workbook and using the track changes option).

    I got the following code so far:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Can anyone please help me changing the code so it displays more than just the last change ? I am very glad for any help.

    Thanks a lot,

    Jan
    Last edited by zbor; 06-01-2015 at 04:27 PM.

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,674

    Re: Track multiple changes as a comment

    See attached file.Target cell is A1.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-07-2013
    Location
    beijing, china
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Track multiple changes as a comment

    Dear kvsrinivasamurthy,

    this is really great, thanks a lot !! I am sorry I have to bother you again, but could you tell me how I'd have to change the code so it applies f.e. to cells P9-P27 and S11-S18, so basically different rows within columns ?

    Furthermore, the comments are always deleted automatically after I saved the file, opened it again and wrote a new number into the cell. Is there a way I can save the comment constantly? That way also if another user opened the file, edited the cell, the last 5 changes made by whom ever are always remembered ?



    Again, thanks so much, you deserve an excel medal for this !

    Jan
    Last edited by bcs01; 05-10-2013 at 01:31 AM.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,674

    Re: Track multiple changes as a comment

    Thanks for compliments.I will try Your next requirement.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,674

    Re: Track multiple changes as a comment

    PL see the attached file . I hope this is what you want.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 05-12-2013 at 08:57 AM.

  6. #6
    Registered User
    Join Date
    05-07-2013
    Location
    beijing, china
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Track multiple changes as a comment

    Dear kvsrinivasamurthy,

    this is excatly what I need !! Thanks so much again, you really really helped me here. Also thanks for working on this on your weekend as well.

    Best regards,

    Jan

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,674

    Re: Track multiple changes as a comment

    Thanks for compliments once again.Pl mark the thread SOLVED.

    A slight change for improvement (to add additional ranges)

    In the code for P9:P27 7 & S11:S18 Instead of this

    If Not Intersect(Target, Range("P9:P27")) Is Nothing Or Not Intersect(Target, Range("S11:S18")) Is Nothing Then

    This can be used

    If Not Intersect(Target, Range("P9:P27,S11:S18")) Is Nothing Then
    Last edited by kvsrinivasamurthy; 05-13-2013 at 12:37 AM.

  8. #8
    Registered User
    Join Date
    05-07-2013
    Location
    beijing, china
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Track multiple changes as a comment

    Yep, works as well ! Thanks again

+ 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