ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Comment (https://www.excelbanter.com/excel-worksheet-functions/35669-comment.html)

Phil

Comment
 
Is it possible using function or formula to "read" and use the contents of
a comment ?



Per Erik Midtrød

AFAIK there is no built in function to do this, but theres always vba.
Press Alt+F11 and paste this in a module:
Public Function ShowComment(Rng As Range)
ShowComment = Rng.Comment.Text
End Function

Then you can use it like any ordinary function.
Like this: =ShowComment(A1)


Per Erik

On Sat, 16 Jul 2005 17:11:03 GMT, "Phil"
wrote:

Is it possible using function or formula to "read" and use the contents of
a comment ?




All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com