Hi b0x4it,
The code I posted will work on a single word, a sentence, paragraph, or the whole document if that's selected. I'm not sure what you're hoping to achieve via your enhancement and I have no idea what you mean by:
Quote:
running your code using the following code
|
since my code isn't what followed.