Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bring Note contents into cells 2

Status
Not open for further replies.

DanAuber

IS-IT--Management
Apr 28, 2000
255
FR
In Excel, I have a column several thousand rows long with notes on some of the cells. I want to create another column next to this column which bring the text from the notes into the cells (so I can then quickly isolate all the cells with notes and sort by them).

Does anyone have a macro/way to do this ?

Thanks for any help

Dan

 
You can use custom function, for instance:
Code:
Function GetComment(InputCell As Range) As String
If Not InputCell.Comment Is Nothing Then GetComment = Replace(InputCell.Comment.Text, Chr(10), " ")
End Function
Depending on the needs, you can only test for comment and set True/False to Boolean function, change Chr(10) replacement to something other than space etc.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top