Slaycock,
The limitation of your approach is that it will only work at paragraph ends and even then only of the paragraph break is preceded by a period. It won't work in any other situation. The code I posted will work anywhere in a document - including at the very start, where your '-1' suggestion would cause an error.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|