+ Reply to Thread
Results 1 to 4 of 4

Determine if Comment is Changed Like the Worksheet_Change event

  1. #1
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Determine if Comment is Changed Like the Worksheet_Change event

    Hello all,

    The following code lets me write changes on the INTERFACE sheet to the DBS sheet.
    I also managed to copy comments to the DBS-sheet.
    However the copying of comments only works if the cell value is changed, this is because of the Worksheet_Change event.
    Is it possible to detect if the comment itself is changed (edited or deleted)?

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Determine if Comment is Changed Like the Worksheet_Change event

    Nope, it doesn't fire an event, but you can create a macro to add a comment and add this macro to the right click menu. This will allow you to add a comment and fire custom code afterwards.

    Similar to this thread

    http://www.excelforum.com/showthread...t=#post4475437
    Frob first, tweak later

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Determine if Comment is Changed Like the Worksheet_Change event

    Excel doesn't have CommentChange event, so a custom event will have to be written.
    Note that his does not respond to changing a comment via code, it only works on comments changed by the user.

    Please Login or Register  to view this content.
    Last edited by mikerickson; 09-11-2016 at 12:28 PM.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Re: Determine if Comment is Changed Like the Worksheet_Change event

    Both suggestions work fine. Thank!

+ 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. [SOLVED] Change event to Add or update comment with input box when cell in a range is changed
    By fratello in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2012, 06:40 AM
  2. Determine if format was changed in Worksheet_Change
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2010, 05:41 PM
  3. [SOLVED] In the worksheet_change event, how do I determine what occured?
    By Tim Patton in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-03-2005, 04:40 PM
  4. Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  6. Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Event on changed comment for a cell
    By MattiasP in forum Excel General
    Replies: 2
    Last Post: 07-13-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