Get comments into a cell from the track changes comments

tplee

New Member
Joined
May 2, 2014
Messages
1
Hi all,

New to the forum. I have a quick question hopefully someone can help me with.

So I found this neat VBA code online to extract the comments from a comment into a cell by using =getcomment() formula.

here is the code I used:

Function GetComments(rngTemp As Range)
If Not rngTemp.Comment Is Nothing Then
GetComments = rngTemp.Comment.Text
End If
End Function

This actually works beautifully but I have one problem. It will only get the comments out of a manually created comment. What I would like it to do is have it give me the comments from a shared Track Changes comment. The comment that show up in a black box around a cell whenever anything is changed.

Does anybody know of a way to do this?

Basically what I'm trying to do is get the username of whoever makes a change to a certain cell and place it in another cell.

If there is a better way to do this that works as well.

Appreciate the help in advance.

Thanks,
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,216,149
Messages
6,129,149
Members
449,488
Latest member
qh017

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top