Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I remove many unwanted carriage returns all at once?
I have a document with hundreds of unnecessary carriage returns. How can I
delete them all without doing them one by one. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I remove many unwanted carriage returns all at once?
http://word.mvps.org/FAQs/Formatting/CleanWebText.htm
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org HR wrote: I have a document with hundreds of unnecessary carriage returns. How can I delete them all without doing them one by one. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I remove many unwanted carriage returns all at once?
The document "Cleaning up text pasted from the Web" (CleanWebTextContent) is
only partially useful. I don't know about anyone else, but I couldn't get the Autoformat tab of Tools AutoCorrect to do anything. Also, I think there is an error in the document. Under Second pass, I think it should say, 1. In the "Find what" box, type ^p. If the "Second pass" process is accurate, then the document never explains how to manually get rid of the ^p (because the Autoformat tab of Tools AutoCorrect doesn't do anything). The document says, "when you select a block of text with a paragraph break at the end of teach full line, AutoFormat will delete all the paragraph breaks but the last." This did not work for me. Maybe there is some other step you need to do that the document does not explain. Finally, if you use Find / Replace, and replace the pilcrow or paragraph mark for a space one paragraph at a time, a dialog box appears after you click "Replace All" (for the paragraph), that asks if you want Word to make the replacements all the rest of the way through the document. If you mistakenly click "Yes," Word not only replaces all pilcrows with a space, but it also changes the font for the remainder of the document, and clicking "Undo" will *not* undo it. Tim Munyon "Graham Mayor" wrote: http://word.mvps.org/FAQs/Formatting/CleanWebText.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org HR wrote: I have a document with hundreds of unnecessary carriage returns. How can I delete them all without doing them one by one. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I remove many unwanted carriage returns all at once?
Also, I think there is an error in the document. Under Second pass, I
think it should say, 1. In the "Find what" box, type ^p. If the "Second pass" process is accurate, then the document never explains how to manually get rid of the ^p (because the Autoformat tab of Tools AutoCorrect doesn't do anything). No, the article is correct. The assumption is that each line ends in a line break and each paragraph ends with two line breaks. First you replace each pair of line breaks with a paragraph break, and then you replace the remaining single line breaks with spaces (or nothing, if they are already preceded by spaces). And you don't do this one paragraph at a time; you do it for the entire block of pasted text. If you are replacing paragraph breaks with spaces, then you are going beyond what the procedure is intended to do. Also, if the text you are starting with has a paragraph break (rather than a line break) at the end of each line, then it doesn't meet the criteria. If AutoFormat doesn't work on it, then you can use a different procedure, assuming that there are two paragraph breaks (a "blank line") between paragraphs: 1. Replace ^p^p with @@. 2. Replace ^p with a space (if needed). 3. Replace @@ with ^p. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "bufossil" wrote in message ... The document "Cleaning up text pasted from the Web" (CleanWebTextContent) is only partially useful. I don't know about anyone else, but I couldn't get the Autoformat tab of Tools AutoCorrect to do anything. Also, I think there is an error in the document. Under Second pass, I think it should say, 1. In the "Find what" box, type ^p. If the "Second pass" process is accurate, then the document never explains how to manually get rid of the ^p (because the Autoformat tab of Tools AutoCorrect doesn't do anything). The document says, "when you select a block of text with a paragraph break at the end of teach full line, AutoFormat will delete all the paragraph breaks but the last." This did not work for me. Maybe there is some other step you need to do that the document does not explain. Finally, if you use Find / Replace, and replace the pilcrow or paragraph mark for a space one paragraph at a time, a dialog box appears after you click "Replace All" (for the paragraph), that asks if you want Word to make the replacements all the rest of the way through the document. If you mistakenly click "Yes," Word not only replaces all pilcrows with a space, but it also changes the font for the remainder of the document, and clicking "Undo" will *not* undo it. Tim Munyon "Graham Mayor" wrote: http://word.mvps.org/FAQs/Formatting/CleanWebText.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org HR wrote: I have a document with hundreds of unnecessary carriage returns. How can I delete them all without doing them one by one. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
remove carriage returns in a document? | Page Layout | |||
REMOVE HARD CARRIAGE RETURNS IN A PARAGRAPH? | Microsoft Word Help | |||
Remove Extra Carriage Returns | Microsoft Word Help | |||
Remove hard carriage returns | Microsoft Word Help | |||
How do I remove carriage returns in a paragraph... | Microsoft Word Help |