Print comments format

G

Guest

I would like to print the comments without the titles for field I haven't
used, i.e. header, footer, endnote items. How can I print just the comments?
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?UGVyZm9ybWFuY2UgYnkgRGVzaWdu?=,
I would like to print the comments without the titles for field I haven't
used, i.e. header, footer, endnote items. How can I print just the comments?
Without knowing which version of Word you're using, and the settings you've
chosen for displaying and printing the comments, it's very difficult to give
you an answer. My feeling, however, is that you'd probably need a macro that
runs through the document and extracts the comments (as well as any other
information you'd want to see, such as surrounding text or page number)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Guest

I'm using Word 2002 (Office XP). I'm using the Review Mode to make comments.
The default print comments mode will collect all comments fields, (i.e.
header, footer, endnot items and comments). Each field is separated by a
title bar. The problem is that it prints a title bar even when there is no
information in that field. I'd like to print only those fields with
information.

Performance by Design
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?UGVyZm9ybWFuY2UgYnkgRGVzaWdu?=,
I'm using Word 2002 (Office XP). I'm using the Review Mode to make comments.
The default print comments mode will collect all comments fields, (i.e.
header, footer, endnot items and comments). Each field is separated by a
title bar. The problem is that it prints a title bar even when there is no
information in that field. I'd like to print only those fields with
information.
Actually, the true "default" comments mode will print the comments in balloons.
You only get the "task pane" mode when you've turned off comments in balloons
(which is why I asked about mode).

There is no way built into Word that will let you suppress "fields" that don't
contain comments. This is just the way it works. Here's a macro that will list
all the comments in the body of a document in a new document

Sub ListCommentsInDoc()
Dim cmt As Word.Comment
Dim docSource As Word.Document
Dim docTarget As Word.Document
Dim rng As Word.Range

Set docSource = ActiveDocument
Set docTarget = Documents.Add
Set rng = docTarget.Range
rng.Text = "Comments in " & docSource.FullName & vbCr
rng.Style = wdStyleHeading1
rng.Collapse wdCollapseEnd
rng.Style = wdStyleNormal
For Each cmt In docSource.Comments
rng.Text = cmt.Range.Text & vbCr & vbC4
rng.Collapse wdCollapseEnd
Next
End Sub


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Guest

Thanks Cindy. The macro is pretty handy too!

Cindy M -WordMVP- said:
Hi =?Utf-8?B?UGVyZm9ybWFuY2UgYnkgRGVzaWdu?=,

Actually, the true "default" comments mode will print the comments in balloons.
You only get the "task pane" mode when you've turned off comments in balloons
(which is why I asked about mode).

There is no way built into Word that will let you suppress "fields" that don't
contain comments. This is just the way it works. Here's a macro that will list
all the comments in the body of a document in a new document

Sub ListCommentsInDoc()
Dim cmt As Word.Comment
Dim docSource As Word.Document
Dim docTarget As Word.Document
Dim rng As Word.Range

Set docSource = ActiveDocument
Set docTarget = Documents.Add
Set rng = docTarget.Range
rng.Text = "Comments in " & docSource.FullName & vbCr
rng.Style = wdStyleHeading1
rng.Collapse wdCollapseEnd
rng.Style = wdStyleNormal
For Each cmt In docSource.Comments
rng.Text = cmt.Range.Text & vbCr & vbC4
rng.Collapse wdCollapseEnd
Next
End Sub


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)


This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Guest

Hello, Cindy. I found this useful thread while trying to print out comments
as a separate page from a manuscript. The macro worked like a charm except
that it did not extract the number for each comment...Is there a simple way
to have those extracted as well? Or is it something about the way I created
the comments?

Jeanne M
 
G

Guest

Hello, Cindy. I found this useful thread while trying to print out comments
as a separate page from a manuscript. The macro worked like a charm except
that it did not extract the number for each comment...Is there a simple way
to have those extracted as well? Or is it something about the way I created
the comments?

Jeanne M
 
G

Guest

PS: I'm using Windows XP; Word 2003

Jeanne M said:
Hello, Cindy. I found this useful thread while trying to print out comments
as a separate page from a manuscript. The macro worked like a charm except
that it did not extract the number for each comment...Is there a simple way
to have those extracted as well? Or is it something about the way I created
the comments?

Jeanne M
 
G

Guest

PS: I'm using Windows XP; Word 2003

Jeanne M said:
Hello, Cindy. I found this useful thread while trying to print out comments
as a separate page from a manuscript. The macro worked like a charm except
that it did not extract the number for each comment...Is there a simple way
to have those extracted as well? Or is it something about the way I created
the comments?

Jeanne M
 
G

Guest

Hello, Cindy. I found this very useful. The macro worked like a charm except
that it did not extract the number for each comment... (e.g. JM2, JM3, etc)
Is there a simple way to have those extracted as well? Or is it something
about the way I created the comments?

I am using Windows 2000 and Word 2003

Jeanne M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top