![]() |
|
|
|
#1
|
||||
|
||||
|
i would suggest you use the full paragraph instead of asking Word to determine what is a sentence. I haven't tested this but the following changes might do the job...
Replace: oRng.Start = oRng.Sentences(1).Start oRng.End = oRng.Sentences(1).End With: Set oRng = oRng.Paragraphs(1).Range
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
#2
|
|||
|
|||
|
Quote:
Thank you
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Renaming several strings of text by their pattern
|
noname91 | Word | 10 | 01-05-2017 05:46 PM |
| Extracting lines containing specific word. | S.Allen | Word VBA | 1 | 03-27-2015 10:50 PM |
| Extracting specific rows | sbdk82 | Excel | 4 | 09-07-2014 10:24 PM |
Need help extracting specific text from one doument to another with macro/VBA.
|
zsmithku | Word | 1 | 04-15-2011 03:46 PM |
update style of all strings available between two specific strings
|
vikrantkale | Word | 1 | 03-28-2011 06:13 PM |