+ Reply to Thread
Results 1 to 2 of 2

Removing comments if Cell value changes to Blank

  1. #1
    Registered User
    Join Date
    04-27-2014
    Location
    Antartic
    MS-Off Ver
    Excel 2003
    Posts
    1

    Removing comments if Cell value changes to Blank

    Hi all, No doubt this has been asked many times before but it's my first post and I'm very new with Marcos so please be kind
    I have Main worksheet (sheet 9) and some codes in Sheet 10 which I use as a source for data validation in Sheet 9. So far I have a macro which looks for changes in cells and, when someone chooses a code from the list the macro adds a comment to the cell and populates it with an explanation of the code. The explanations are also in the code worksheet (Sheet 10). It works really nicely but I cannot work out how to remove the comment if the user clears the value in the cell.
    Can anyone help??

    My Macro thus far is:
    Please Login or Register  to view this content.
    Last edited by alansidman; 04-29-2014 at 07:30 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,872

    Re: Removing comments if Cell value changes to Blank

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Removing the #N/A N/A value of a column with a blank cell
    By masa123 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-18-2013, 10:02 AM
  2. [SOLVED] Removing blank spaces before and after in a cell using VBA
    By rz6657 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2013, 06:54 PM
  3. Removing #NUM error when cell is blank
    By meejo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-13-2013, 11:07 AM
  4. Removing spaces in a blank cell
    By DTran22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2006, 09:24 PM
  5. Removing a blank cell between data
    By Bonnie, OH in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-27-2006, 04:15 PM

Tags for this Thread

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