Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Outline with just 1st line of paragraphs
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 do it himself. I want to show only the first line of each paragraph, or the first 60 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. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Outline with just 1st line of paragraphs
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 On 2012-07-10 06:28, Ray Maruschak wrote: 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 do it himself. I want to show only the first line of each paragraph, or the first 60 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. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
1st Line in new docs | Page Layout | |||
1st line in ΒΆ short of right margin | Microsoft Word Help | |||
how do I switch off a red dashed outline from paragraphs? | Microsoft Word Help | |||
The 1st line of the 1st paragraph on each page is indented. Why? | Page Layout | |||
Need indent in ALL 1st line Paragraphs LONG DOCUMENT | Page Layout |