10-08-2019, 02:07 AM
|
Novice
|
|
Join Date: Sep 2019
Posts: 4
|
|
Thanks
Quote:
Originally Posted by Guessed
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
|
Thank you
|