#1
|
|||
|
|||
How to fix pasted text
I have to forward documents from one old system to another old system and the copy forward text is pasting as seen in the attached photo. I'd like to get rid of the paragraph marks denoted by the red arrow and keep the paragraph marks denoted by the green arrows - i.e. keep normal paragraph breaks and hard returns but lose the unnecessary breaks within sentences - to save having to manually remove them to make the document look polished, particularly after edits. I've poked around and not found a macro or solution for this. Any help would be greatly appreciated! |
#2
|
||||
|
||||
If the sample is typical,
Replace ^p ^p with @@@@@ Replace ^p^p with @@@@@ Replace ^p with space Replace @@@@@ with ^p See also http://wordfaqs.ssbarnhill.com/CleanWebText.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
||||
|
||||
See the 'Cleaning up Text Pasted from Websites, E-mails, PDFs etc.' Sticky thread at the top of this forum: https://www.msofficeforums.com/word/...s-e-mails.html
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
Thank you!
This was very helpful, thanks!!
|
Tags |
format, paste, text |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stop styles from being copy pasted along with text | Word_fail | Word | 4 | 07-10-2017 05:50 AM |
how do I make pasted text the same size as the text it's being pasted into? | David Lee | Word | 6 | 08-16-2015 10:46 AM |
Pasted text becomes single long line | qaz1 | Word | 1 | 07-25-2015 04:13 AM |
Pasted text comes in columns | yotas312 | Word | 2 | 11-12-2011 07:58 AM |
Trying to highlight pasted text in a macro | goldengate | Word VBA | 0 | 09-14-2010 09:41 PM |