+ Reply to Thread
Results 1 to 3 of 3

Variable comments based on cell value

  1. #1
    Registered User
    Join Date
    06-24-2016
    Location
    Slovakia
    MS-Off Ver
    MS Office 365
    Posts
    92

    Lightbulb Variable comments based on cell value

    Hello,

    I would like to ask if there is some code that will let me create, edit or delete comments for cells with formula that are changing base on selection in other cell.

    To better describe what I mean I attach file. In sheet "Sample output v1" I selected in cell "D5" value X, and based on that formulas in cells below are changing. Now I want to add or change my comments below (like in cell E9 and E15). But than when I change selection in cell "D5" again, I want to see (add/edit and delete) comments valid to this selection. Outcome is showed in sheet "Sample output v2" where I have different comments in different cells.

    Is there any way how to do this?

    Thank you in advance for your help, comment and ideas.
    Attached Files Attached Files
    Have a fantastic day

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Variable comments based on cell value

    What are your criteria for determining which cells need comments changed? What is the source of the comment text?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    06-24-2016
    Location
    Slovakia
    MS-Off Ver
    MS Office 365
    Posts
    92

    Re: Variable comments based on cell value

    Hi Olly,

    there is no external source for comments. My goal is to insert comment(s) in some cell(s) when I have selected one of options in cell "D5" and than when I change value in "D5" I don't want to see these comments but insert new ones.

    I think it could work like this:
    -record comments where they were added (comment and position) and what was selection in "D5" in some other sheet
    -record and track new comments and changes of old comment on that sheet
    -based on these records show only comments valid for specific selection in cell "D5"

    But I'm not sure how to write such code..

+ 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. inserting comments to cells based on the values of that cell and one other cell (VBA)
    By michaelhowes25 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-07-2016, 06:16 AM
  2. [SOLVED] VBA to Add Comments based on Cell Text
    By SylvianaMendez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-04-2014, 01:06 PM
  3. 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
  4. Create New Rows Based on the Cell Lines and For Comments Too
    By -XL- in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-04-2013, 07:34 AM
  5. Replies: 3
    Last Post: 11-21-2012, 03:28 PM
  6. Replies: 2
    Last Post: 07-24-2012, 11:47 AM
  7. 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

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