+ Reply to Thread
Results 1 to 2 of 2

Delete Comment once cell has been populated

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-20-2009
    Location
    Melbourne
    MS-Off Ver
    Excel 365
    Posts
    288

    Delete Comment once cell has been populated

    Hi.
    Is it possible to have a code that will remove the 'comment' from an Excel cell once that cell has been populated.
    I have a number of cells that have a comment explaining to an operative what is required in the cell.
    Once the operative has populated the cell with the required information, I would like the cell to have the comment deleted.
    Thank you in advance for any help you can offer me.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,355

    Re: Delete Comment once cell has been populated

    Hi Coach,

    No problem. The code behind the worksheet is:
    Private Sub Worksheet_Change(ByVal Target As Range)
        Target.ClearComments
    End Sub
    Find the attached with a few comments on it. As soon as you put something into any cell the comment for that cell is deleted.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Disable Delete Comment, Edit Comment, Show/Hide Comment
    By Shanthan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2013, 06:12 AM
  2. Delete Cell based on what is populated in another cell
    By Frankie5d in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2011, 03:01 PM
  3. Replies: 1
    Last Post: 09-27-2008, 05:20 PM
  4. The IF Function-right click on the comment to delete
    By scowlfaceq02 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2006, 12:29 PM
  5. [SOLVED] Code to delete all comment boxes
    By Shawn in forum Excel General
    Replies: 1
    Last Post: 06-02-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