Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
In cell B6 I have a formula like this: ="sometext "&G6-H6&CHAR(10)& " state = " & round(AB6;2) & " (until date " & TEXT(TODAY(); "d-m-yyyy") & ") " & CHAR(10) & " balance = "&Q6 This results in three lines of text that I want to put in the cell comment of N6 (that may or may not already have a cell comment that could have text or nothing in it). I tried a lot with code like Range(...).ClearComments Range(...).AddComment Range(...).Comment.Visible = False Range(...).Comment.Text Text:=Range(Cells(6, 2), Cells(6,2 )).Value Comment.Shape.TextFrame.AutoSize = True but that apparently is not the right way. What is the proper code to accomplish my goal? TIA Jack Sons The Netherlands |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
in cell comment | Excel Discussion (Misc queries) | |||
displaying a comment only when the cell is selected | Excel Discussion (Misc queries) | |||
Cell color based upon cell value | Excel Discussion (Misc queries) | |||
How do I copy text from a cell into a comment? | Excel Discussion (Misc queries) | |||
How can I move the comment box to the left of the cell? | Excel Worksheet Functions |