Print paragraph first line only

July 13th, 2012 - 11:38 am ET by JPh12 | Report spam
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


JPh12
email Follow the discussionReplies 5 repliesReplies Make a reply

Similar topics

Replies

#1 Stefan Blom
July 13th, 2012 - 07:02 pm ET | Report spam
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





On 2012-07-13 17:38, JPh12 wrote:
MS Word (2003) Outline view has an option to show only the first line of
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 in
response to the recent "Outline with just 1st line of paragraphs" thread
(July 10th 2012) but I get a compile error at run time. Perhaps because
the macro is not compatible with W2003?




Replies Reply to this message
#2 JPh12
July 13th, 2012 - 10:39 pm ET | Report spam
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


JPh12
Replies Reply to this message
#3 Stefan Blom
July 14th, 2012 - 10:21 am ET | Report spam
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





On 2012-07-14 04:39, JPh12 wrote:
Thanks for getting back to me.
Yes, I maintained the macro as is when I copied it into the Microsoft
Visual Basic editor.
When I run it I get a "Compile error: Syntax error" message and the line
that's highlighted in the editor is: "If p.Range.Characters.Count 60
Then"




Replies Reply to this message
#4 JPh12
July 14th, 2012 - 04:33 pm ET | Report spam
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


JPh12
Replies Reply to this message
#5 Stefan Blom
July 15th, 2012 - 10:47 am ET | Report spam
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





On 2012-07-14 22:33, JPh12 wrote:
There's something strange going on. In my browser (Opera, XP) I don't
see the ">" in your macro. I don't see it here in your reply either (but
I saw it in my email alert). I've had problems with my US International
keyboard not working properly any longer in Word and other programs; I
wondered if it's related.




email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search