How do you count the number of comments in a document? Thanks.
Sub Test()
MsgBox ActiveDocument.Comments.Count
End Sub

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> How do you count the number of comments in a document? Thanks.
Charlie Mac - 30 Nov 2005 04:20 GMT
Greg,
Thanks...obviously, I am new to VBA.
Take care,
On Tue, 29 Nov 2005 22:11:43 -0500, "Greg Maxey"
<gmaxey@mvps.OscarRomeoGolf> wrote:
>Sub Test()
>MsgBox ActiveDocument.Comments.Count
>End Sub