[QUOTE=gmaxey;133567]Not sure exactly what you are trying to do, but something like this:
Mr. GMaxey,
Thank your for the code. Much appreciated.
I'm translating some text from English to Spanish using "Google Translate", and after adding the text in Spanish to the file, the macro that I was initially using was formatting the whole document, including the paragraphs.
Now with your code at least I can select the text that I'm adding without having to format the the whole text.
When copying or adding the Spanish text to the document, there are a whole bunch of spaces that I was initially removing them manually.
Your code is working as intended.
Of course, if I have more than two or three paragraphs, the selected text will not keep the paragraphs. If there is a way to keep the paragraphs in place that will be great.
Thank you for your effort.
Regards,
rsrasc
|