Determining the end of a sentence

T

T.L.

I am interested in writing a macro in Microsoft Word that finds the end of
a sentence and ensures there are two spaces there.

Word must already have this capability somewhere. If I tell the prefrences
in the grammer checker to ensure there are two spaces after a sentence,
then Word will highlight with a green squiggly line anyplace there is less
than two spaces, or more than two spaces.

Unfortunatly, I need to go through and manually ensure those palces are
corrected.

What would be great is if there was a character like "^e" that represented
the end of a sentence, and then replace "^e^w" with "^e " and so on.

Of course, finding the end of a sentence is not that easy. A period is not
always the end of a sentence.

Is there some sort of coding that can determing where a sentence ends,
witout getting choked up on abbreviations and other stumbling blocks?

Thanks.

Todd
 
L

Larry

That's quite doable, but if could tell exactly what it is you want, I'd
be able to send you macro cut to order. I figure you're interested in
fixing more than one sentence. :)

Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top