Counting the number of comments by authors
Hi all,
I'm wondering if there is a way to count the number of comments by specific authors. I'm modifying a comment grid generator and have added an option to exclude comments by up to 3 specific authors in the grid.
At the end, a little message box opens up that says "x comments found in the document".
I would like to make x only count the authors who weren't excluded by the user.
My thinking is that the easiest way is to subtract the number of comments by the excluded authors from the overall comment count:
Code:
x = ActiveDocument.Comments.Count - (number of comments from author 1 + number of comments from author 2 + number of comments from author 3)
I'm sure that there is an easy way to do this, but I'm too stupid to work it out!
Thank you.
Message box to display list of comment and revision authors?
Me again...
I'm hoping to be able to create a list of people who have commented on, or made tracked changes to, a document. It's part of something else I'm trying to tweak, but I should be able to work out what I need to do if anyone knows if there is a way have a message box open up and say:
'The following people have made comments or revisions on this document:
AuthorA
AuthorB
AuthorC...'
Any help appreciated.