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:

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.