#1   Report Post  
jlschott2
 
Posts: n/a
Default Comments

How can I get a comment that I type in a cell to automatically appear or
automatically update in another cell?
I tried the simple, =a2, formula to have the info appear in b2 but it didn't
work.
  #2   Report Post  
Alan
 
Posts: n/a
Default Comments

As far as I know, a comment is just that, a comment in a cell. I don't think
you can get a comment in one cell to appear in, or alter the contents of
another cell,
Regards,
Alan.
"jlschott2" wrote in message
...
How can I get a comment that I type in a cell to automatically appear or
automatically update in another cell?
I tried the simple, =a2, formula to have the info appear in b2 but it
didn't
work.



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default Comments

Saved from a previous post:

You can retrieve the text from a comment with a userdefined function like:

Option Explicit
Function GetComment(FCell As Range) As Variant
Application.Volatile

Set FCell = FCell(1)

If FCell.Comment Is Nothing Then
GetComment = ""
Else
GetComment = FCell.Comment.Text
End If

End Function

Then you can use it like any other function:

=getcomment(a1)

But be aware that the function won't evaluate when you just change the comment.
It'll be correct when excel recalculates. (Hit F9 to force a recalc.)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

jlschott2 wrote:

How can I get a comment that I type in a cell to automatically appear or
automatically update in another cell?
I tried the simple, =a2, formula to have the info appear in b2 but it didn't
work.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comments problem [email protected] Excel Discussion (Misc queries) 3 July 22nd 05 07:18 PM
Lookup Text in Comments malik641 Excel Worksheet Functions 2 July 5th 05 12:36 PM
Include comments on another spreadsheet jh3016 Excel Discussion (Misc queries) 1 July 3rd 05 12:24 PM
Can I reference comments by Cell Name? flo1730 Excel Discussion (Misc queries) 5 June 15th 05 03:34 PM
How do I export comments into another excel column as cell content Hernan Excel Worksheet Functions 1 February 25th 05 02:17 PM


All times are GMT +1. The time now is 08:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"