Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / March 2006

Tip: Looking for answers? Try searching our database.

Word 2003: Applying a character style to the first sentence of every paragraph.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vickie S. Evans - 29 Mar 2006 17:46 GMT
I've searched the newsgroup and was unable to locate an answer to my
question, so here it goes...

Our users are looking for a way to apply the character style called First
Sentence, (which includes bold and underline), globally throughout long
documents without having to manually apply it. I've under the Find and
Replace option in Word 2003 but can't find how to do this. Is it even
possible?

Thank you in advance for your assistance!

___________________________________________________________
Vickie S. Evans, Technical Trainer | Locke Liddell & Sapp LLP | 2200 Ross
Avenue, Suite 2200, Dallas, TX 75201 | Direct: 214.740.8271 |
www.lockeliddell.com
Greg - 29 Mar 2006 19:36 GMT
Vickie do you mean "globally" as in apply it to every bit of the text
in the document?  If so, just select all (CTRL+a) and apply the style.

Do you mean apply the "First Sentence" style globally to the first
sentence every paragraph?  Then perhaps something along these lines
will do:

Sub Scratchmacro2()
Dim oPar As Paragraph
Dim oRng As Word.Range
For Each oPar In ActiveDocument.Range.Paragraphs
 oPar.Range.Sentences(1).Select
 With Selection
   .MoveEndUntil Cset:="n", Count:=wdBackward
   .Style = "First Sentence"
 End With
Next oPar
End Sub
Vickie S. Evans - 29 Mar 2006 21:52 GMT
Greg,

Thanks for your response. I'm interested in the second option... apply the
"First Sentence" style globally to the first sentence every paragraph. I'll
test the code and let you know how it turns out.

Thanks again!
Vickie

I just want the first sentence of every paragraph to be styled with the
First Sentence style without having to manually apply it to each and every
one

> Vickie do you mean "globally" as in apply it to every bit of the text
> in the document?  If so, just select all (CTRL+a) and apply the style.
[quoted text clipped - 14 lines]
> Next oPar
> End Sub
John McGhie [MVP - Word and Word Macintosh] - 30 Mar 2006 00:01 GMT
While you're at it, have a chat to your document designer about that
underline :-)

Readability research proves conclusively that underlining text makes it
difficult to read, and causes the reader's retentivity to drop sharply.

See
http://scholar.google.com/url?sa=U&q=http://www.stc.org/confproceed/2000/PDF
s/00006.PDF

Readers of English read by recognising the "shape" of entire phrases.  If
you underline text, you change the shape, causing the reader to have to slow
down and read word-by-word (or often, character-by-character).

Your retentivity will fall by around 70 per cent.  Great if you sell the
course, you get the chance for all that repeat business to teach the
students what they should have remembered the first time.

But not so good if you are the customer paying for them :-)

Hope this helps

On 30/3/06 6:52 AM, in article #sRm$K3UGHA.5248@TK2MSFTNGP10.phx.gbl,

> Greg,
>
[quoted text clipped - 27 lines]
>> Next oPar
>> End Sub

Signature

Please reply to the newsgroup to maintain the thread.  Please do not email
me unless I ask you to.

John McGhie <john@mcghie.name>
Microsoft MVP, Word and Word for Macintosh.  Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.