Print paragraph first line only

J

JPh12

MS Word (2003) Outline view has an option to show only the first line o
every paragraph. But it doesn't allow to print it.
Is there a way (macro?) to print such a condensed view of the document?

PS: I tried the HideRestOfParagraph() macro posted by M. Blom i
response to the recent "Outline with just 1st line of paragraphs" threa
(July 10th 2012) but I get a compile error at run time. Perhaps becaus
the macro is not compatible with W2003
 
S

Stefan Blom

My macro should work just fine in Word 2003 as well; it doesn't contain
any objects or object members that didn't exist in Word 2003. Did you
make sure to paste the code with the line breaks intact?

Stefan Blom
Microsoft Word MVP
 
J

JPh12

Thanks for getting back to me.
Yes, I maintained the macro as is when I copied it into the Microsof
Visual Basic editor.
When I run it I get a "Compile error: Syntax error" message and the lin
that's highlighted in the editor is: "If p.Range.Characters.Count 6
Then
 
S

Stefan Blom

That line should read

If p.Range.Characters.Count > 60 Then

It seems as if you had left out the ">"?

Stefan Blom
Microsoft Word MVP
 
J

JPh12

There's something strange going on. In my browser (Opera, XP) I don'
see the ">" in your macro. I don't see it here in your reply either (bu
I saw it in my email alert). I've had problems with my US Internationa
keyboard not working properly any longer in Word and other programs;
wondered if it's related
 
S

Stefan Blom

Have you tried changing the encoding in your browser?

For what it's worth, I don't use the browser for newsgroups posts much.
I sometimes search the newsgroup archives at
https://groups.google.com/forum/?fromgroups#!overview but when I post I
make use of NNTP access via a newsreader (Thunderbird or Windows Live
Mail). (I set up an account via eternal-september.org.)

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