Basically, what I was trying to do was to copy the translated text from Spanish to a document, and when I was doing that some of text were truncated and in some other cases I have to delete the spaces manually in order to make a complete sentence.
Since I had the first code that I posted (given to me previously in this site) I try to use it, but then I realized that after adding new text to the document, it was formatting the whole document.
So, I decided to ask for a code that will only run with the new selected text that was added to the document. In some cases I was adding two or more paragraphs but when you apply the code to the document with the new (and old) code, it will also deleting the spaces between paragraphs.
So to answer your question, there is nothing wrong with the formatting that I was trying to address.
Not sure if there is a code available that will retain the paragraphs when formatting.
Thank you for time and cooperation.
Regards,
rsrasc
|