![]() |
#6
|
||||
|
||||
![]()
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
zsmithku | Word | 1 | 04-15-2011 03:46 PM |
![]() |
vikrantkale | Word | 1 | 03-28-2011 06:13 PM |