Outline with just 1st line of paragraphs

R

Ray Maruschak

I want to send a complicated agreement to a client.

It has headings and sub headings, sub-sub headings

But I don't want him to have all of the agreement. He'll just try to d
it himself.

I want to show only the first line of each paragraph, or the first 6
characters of each line.

Maybe use the rand() or locum() to replace the rest of the characters?
Or maybe that is too fancy, just delete the rest or hide it.

I plan to print to PDF, then send it to him.

I'd be grateful for your kind help
 
S

Stefan Blom

Formatting the text as hidden would certainly do the trick, because
hidden text will be omitted from the PDF. But I'm guessing you want to
automate the procedure? In that case, the following very basic macro
should do the trick:

Sub HideRestOfParagraph()
Dim p As Paragraph
Dim j As Long
For Each p In ActiveDocument.Paragraphs
If p.Range.Characters.Count > 60 Then
For j = 61 To p.Range.Characters.Count
p.Range.Characters(j).Font.Hidden = True
Next j
End If
Next p
End Sub

The macro checks each paragraph for the number of characters and it
hides the 61th and subsequent characters if found. (Note that the macro
may hide *parts* of words.)

For assistance, see http://www.gmayor.com/installing_macro.htm.

Stefan Blom
Microsoft Word MVP
 

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