Thank you so much for your help gmaxey, this code is genius! I just realized that you are the creator of that great add-in for selecting sentences that you recommended, so clearly I came to the right person.
I only have one complaint with the code now, which is that if the insertion point is somewhere in the last sentence of a paragraph, and that paragraph is followed by two or more blank lines without text, executing the code will do nothing. The insertion point will stay exactly where it is. Instead, it ideally should still select to the end of that last sentence in that Paragraph, as it would do if there happened to be text in the new Paragraph directly below it, or as it would do if there only were one blank line below it.
Any ideas on a fix for this?
|