Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2005

Tip: Looking for answers? Try searching our database.

Counting comments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charlie Mac - 30 Nov 2005 03:04 GMT
How do you count the number of comments in a document?  Thanks.
Greg Maxey - 30 Nov 2005 03:11 GMT
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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.