View Single Post
 
Old 10-08-2019, 02:07 AM
PWH68 PWH68 is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2019
Posts: 4
PWH68 is on a distinguished road
Default Thanks

Quote:
Originally Posted by Guessed View Post
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
Reply With Quote