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
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