+ Reply to Thread
Results 1 to 5 of 5

VBA to Add Comments based on Cell Text

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    4

    VBA to Add Comments based on Cell Text

    Hello!

    I have a VBA that can add a comment based on the cell value, however, I need it to do it for the whole worksheet and not just one cell. I am pretty new to using VBA's, so this is the best code I could find that would perform what I need. If there is a way to have it do run a vlookup, instead of me listing all the cases, that would be great as well.
    Please Login or Register  to view this content.
    Hope someone can help!

  2. #2
    Registered User
    Join Date
    06-03-2014
    Posts
    4

    Re: VBA to Add Comments based on Cell Text

    Someone was able to find a code for me!!

    Please Login or Register  to view this content.
    I just need for it to sun automatically instead of me updating it, is this possible??

  3. #3
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,938

    Re: VBA to Add Comments based on Cell Text

    Select all the cells of interest and run this:
    Please Login or Register  to view this content.
    Last edited by Bernie Deitrick; 06-04-2014 at 12:45 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  4. #4
    Registered User
    Join Date
    06-03-2014
    Posts
    4

    Re: VBA to Add Comments based on Cell Text

    Thank you Bernie! However, I was able to get a code that has the vlookup function, which is a bit easier to use, instead of me listing it case by case.

    Do you know how I can actually run the code automatically everytime the cell value may change, instead of me trying to run it manually?

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-03-2014
    Posts
    4

    Re: VBA to Add Comments based on Cell Text

    I was able to find a code for it to run automatically! Thank you for your help!!!

    Please Login or Register  to view this content.

+ 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. copy cell text to comments in excel 2010 and vise versa (i.e. from comments to cell)
    By senthile in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-25-2014, 12:16 PM
  2. How to display cell comments based on 2 conditions
    By vishwas1980 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-24-2012, 02:55 AM
  3. [SOLVED] Copying comments text to a cell using vba
    By TommoUK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2006, 11:15 PM
  4. [SOLVED] UDF code to find specific text in cell comments, then average cell values
    By bruch04 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2005, 06:10 PM
  5. [SOLVED] Can you conditional format based on information in cell comments?
    By Jflyer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2005, 10:07 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