Forum Discussion
Extracting content from all cell notes on Excel sheet
You can use the example custom function found at https://professor-excel.com/excel-extract-comments-text-to-cell/.
Function ReturnNoteText(cell As Range)
ReturnNoteText = cell.Comment.Text
End Functionuse as:
- EloyMendozaAug 25, 2021Copper ContributorHi Chris, this function worked fine for me but when note changes my formula does not refreshes, do you know why?
Thanks in advance- ChrisMendozaAug 25, 2021Iron Contributor
EloyMendoza- it looks like https://professor-excel.com/excel-extract-comments-text-to-cell/ was updated for threaded comments. I have this version of Excel now so I can't test on an older version. My guess however is that you'll need to refresh the formula manually (enter edit mode and then enter; or similar manually) or I suppose you could do some VBA on cell change to refresh the calculation.
- EloyMendozaAug 25, 2021Copper ContributorChris, Thanks for your quick answer.
- Noel_SherryJan 07, 2020Copper Contributor
Thanks, Chris, I see that code.
I am a novice. I do not know how to create a macro, how to record it, save it, debug it, and then run it to do what it is supposed to do. Maybe this is just beyond me.
But thanks,
Noel
- ChrisMendozaJan 07, 2020Iron Contributor
Learning more about Excel is not beyond anyone. https://support.office.com/en-us/article/create-custom-functions-in-excel-2f06c10b-3622-40d6-a1b2-b6748ae8231f provides you a good start.
- Noel_SherryJan 07, 2020Copper Contributor