View Single Post
 
Old 03-25-2023, 06:44 AM
gmaxey gmaxey is offline Windows 10 Office 2019
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,636
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

You are going to have an endless struggle developing a macro to achieve your desired result. While you example is clear enough, the problem is that Word has no fundamental concept of what a sentence is. To Word, all periods in text constitutes a sentence. So if your example looked like:

Mr. Sam went to the St. Charles St. Bank and withdrew two hundred dollars from Mr. Smith’s account before going to Dr. Harry’s Turkey Shop on N. Cherry St. to get a turkey on his way to his grandparent’s house at 9 Miller Ave. Tallahassee FL for dinner.


To you an I, that looks like one very long sentence. To Word, it is 9 separate sentences. I have a fairly lengthy explanation of all this as well as an AddIn for evaluating deduced sentences: Deduced Sentences



It may help you identify your sentences but nothing will be perfect.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote