Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word doc
I have a 900+ page document and more than half of contains blank lines. Is
there a way to automatically eliminate on the blank lines in the document? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word doc
Replace ^p^p with ^p. Do this until there are no replacements.
-- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a worddoc
See http://www.word.mvps.org/FAQs/Format...eanWebText.htm .
JPRENDER wrote: I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word doc
Use Find and Replace: Find ^p^p (two consecutive paragraph marks) and
replace with ^p (one paragraph mark). Use Replace All repeatedly until you stop finding any more. You might also need to deal with lines that contain only spaces (which the above won't match). "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word
Thanks for your response. Tried your suggestion though Word indicated that
over 6500+ change were made, my doc was only reduced by 2 pages. Is there another possible solution? "Jezebel" wrote: Use Find and Replace: Find ^p^p (two consecutive paragraph marks) and replace with ^p (one paragraph mark). Use Replace All repeatedly until you stop finding any more. You might also need to deal with lines that contain only spaces (which the above won't match). "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word
Did you try repeating it until you get no replacements?
-- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... Thanks for your response. Tried your suggestion though Word indicated that over 6500+ change were made, my doc was only reduced by 2 pages. Is there another possible solution? "Jezebel" wrote: Use Find and Replace: Find ^p^p (two consecutive paragraph marks) and replace with ^p (one paragraph mark). Use Replace All repeatedly until you stop finding any more. You might also need to deal with lines that contain only spaces (which the above won't match). "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word
Initially no...but I just tried on a 348 pg doc and following your
instructions until I had no more replacements reduced the doc down to 317 pgs. However there are still large empty/blank sections in each page under the "---------- Page Break--------" that are not effected by the process you provided. These sections do not show any data element such line breaks or paragraph breaks Is there a method to eliminate these sections automatically. Alsi is there a way to write macro to handled both processes to fully automate the formatting of these docs "Charles Kenyon" wrote: Did you try repeating it until you get no replacements? -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... Thanks for your response. Tried your suggestion though Word indicated that over 6500+ change were made, my doc was only reduced by 2 pages. Is there another possible solution? "Jezebel" wrote: Use Find and Replace: Find ^p^p (two consecutive paragraph marks) and replace with ^p (one paragraph mark). Use Replace All repeatedly until you stop finding any more. You might also need to deal with lines that contain only spaces (which the above won't match). "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word
That is because a page break does just that. It starts a new page. It is not
a blank line. Manual page breaks should be avoided for all sorts of reasons. You've just found one. Try replacing them all with paragraphs and then running the replace two paragraphs with one replacement again. Replace ^m with ^p. I hope you are working with a copy. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... Initially no...but I just tried on a 348 pg doc and following your instructions until I had no more replacements reduced the doc down to 317 pgs. However there are still large empty/blank sections in each page under the "---------- Page Break--------" that are not effected by the process you provided. These sections do not show any data element such line breaks or paragraph breaks Is there a method to eliminate these sections automatically. Alsi is there a way to write macro to handled both processes to fully automate the formatting of these docs "Charles Kenyon" wrote: Did you try repeating it until you get no replacements? -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... Thanks for your response. Tried your suggestion though Word indicated that over 6500+ change were made, my doc was only reduced by 2 pages. Is there another possible solution? "Jezebel" wrote: Use Find and Replace: Find ^p^p (two consecutive paragraph marks) and replace with ^p (one paragraph mark). Use Replace All repeatedly until you stop finding any more. You might also need to deal with lines that contain only spaces (which the above won't match). "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How can I automatically eliminate all blank lines from a word
Could you write a macro? Yes. Should you? Probably not.
Such a macro (especially one eliminating page breaks) is as likely to make a hash of a document as it is to make it better. If you do one, work with copies. Many people simply press the Enter key twice to start a new paragraph. Very bad practice, but frequent. The number of ways that people can mess up a document applying such direct formatting and acting as if they are typing on a typewriter exceeds the ability of any reasonable macro to clean up. The real key is to instill the use of proper styles to format documents. If you don't have the ability to do this, if you can make the people who write the stuff fix their own garbage, you will be ahead. Probably that is also impractical. If you can itemize the expense caused by this garbage formatting to try to justify better training, it might work. Still too long-term for your immediate problem. The following may help. http://word.mvps.org/FAQs/Formatting/CleanWebText.htm -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... Initially no...but I just tried on a 348 pg doc and following your instructions until I had no more replacements reduced the doc down to 317 pgs. However there are still large empty/blank sections in each page under the "---------- Page Break--------" that are not effected by the process you provided. These sections do not show any data element such line breaks or paragraph breaks Is there a method to eliminate these sections automatically. Alsi is there a way to write macro to handled both processes to fully automate the formatting of these docs "Charles Kenyon" wrote: Did you try repeating it until you get no replacements? -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JPRENDER" wrote in message ... Thanks for your response. Tried your suggestion though Word indicated that over 6500+ change were made, my doc was only reduced by 2 pages. Is there another possible solution? "Jezebel" wrote: Use Find and Replace: Find ^p^p (two consecutive paragraph marks) and replace with ^p (one paragraph mark). Use Replace All repeatedly until you stop finding any more. You might also need to deal with lines that contain only spaces (which the above won't match). "JPRENDER" wrote in message ... I have a 900+ page document and more than half of contains blank lines. Is there a way to automatically eliminate on the blank lines in the document? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word 97 in Windows XP to maintain formatting | Microsoft Word Help | |||
Word should allow to 'divide' page by 3 or 4, not just 2 | Page Layout | |||
Underscore (_) will not always display in RTF files (Word 2002). | Microsoft Word Help | |||
is word perfect compatible with office word? | Microsoft Word Help | |||
Envelope Address | New Users |