A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

please help: merging multiple consecutive text lines into one Wordparagraph



 
 
Thread Tools Display Modes
  #1  
Old July 14th 09, 03:08 PM posted to microsoft.public.word.newusers
John Goche
external usenet poster
 
Posts: 12
Default please help: merging multiple consecutive text lines into one Wordparagraph


Hello,

I have an ASCII text (.txt) file in DOS format with each text line
terminated by a carriage return character and line feed character.
Inside the text file, paragraphs consist of consecutive nonblank
lines and are separated by one or more blank lines. When I open
the file with Microsoft Word 2007 the line delimeters seem to
persist since if I highlight a paragraph and try to justify the
text so that both the right hand side and left hand side of
the text are align, Word just justifies each line individually,
that is, does nothing since each line by itself is by definition
already justified. Thus I would like to eliminate all line delimiters
appearing between nonempty lines. I could delete them one at a
time, but this would be time consuming as some of the paragraphs
in the original text file have quite a lot of lines. I would prefer it
if there
were a way to be able to highlight a bunch of consecutive nonempty
lines and delete all line delimiters (i.e. invisible delimiting
characters)
found therein by pressing a "merge lines into paragraph" button or
something similar from within Word. This would have the effect of
merging the highlighted lines into a proper Word paragraph. Is
there a way to do this in Word?

Thanks a lot for all your help,

John Goche
Ads
  #2  
Old July 14th 09, 03:18 PM posted to microsoft.public.word.newusers
Jay Freedman
external usenet poster
 
Posts: 9,855
Default please help: merging multiple consecutive text lines into one Word paragraph

See http://sbarnhill.mvps.org/WordFAQs/CleanWebText.htm. (It doesn't matter
whether the text comes from the Web or elsewhere; the steps are the same.)

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

John Goche wrote:
Hello,

I have an ASCII text (.txt) file in DOS format with each text line
terminated by a carriage return character and line feed character.
Inside the text file, paragraphs consist of consecutive nonblank
lines and are separated by one or more blank lines. When I open
the file with Microsoft Word 2007 the line delimeters seem to
persist since if I highlight a paragraph and try to justify the
text so that both the right hand side and left hand side of
the text are align, Word just justifies each line individually,
that is, does nothing since each line by itself is by definition
already justified. Thus I would like to eliminate all line delimiters
appearing between nonempty lines. I could delete them one at a
time, but this would be time consuming as some of the paragraphs
in the original text file have quite a lot of lines. I would prefer it
if there
were a way to be able to highlight a bunch of consecutive nonempty
lines and delete all line delimiters (i.e. invisible delimiting
characters)
found therein by pressing a "merge lines into paragraph" button or
something similar from within Word. This would have the effect of
merging the highlighted lines into a proper Word paragraph. Is
there a way to do this in Word?

Thanks a lot for all your help,

John Goche



  #3  
Old July 15th 09, 03:57 PM posted to microsoft.public.word.newusers
John Goche
external usenet poster
 
Posts: 12
Default please help: merging multiple consecutive text lines into oneWord paragraph

On Jul 14, 3:18*pm, "Jay Freedman" wrote:

Seehttp://sbarnhill.mvps.org/WordFAQs/CleanWebText.htm. (It doesn't matter
whether the text comes from the Web or elsewhere; the steps are the same.)


Thank you for your response. In Microsoft Word 2003 SP3 I opened the
text
document and did the following. First I right clicked on the toolbars
section
right under the menu bar to make sure that the standard toolbar was
toggled
on so that it is displayed. Then I clicked on the downwards arrow
found
on the far right of the standard toolbar, selected "Add or Remove
Buttons",
then selected "Standard", and then made sure the "Show All" button was
displayed by ensuring that a checkmark appeared next to it. Once the
button was visible on the standard toolbar I clicked on it. This
displayed
the line breaks as arrows shaped like the drawing appearing on the
enter key of most physical computer keyboards. Then under the
Edit menu I selected "Replace..." and under "Find what:" I
entered ^l^l and then under "Replace with:" I entered ^p^p
and then clicked on "Replace All". Then I selected "Replace..."
once again from the Edit menu and under "Find what:"
I entered ^l and under "Replace with:" I entered " " (a space)
and then clicked on "Replace All". Then I selected "Select All"
from the "Edit" menu and hit the justify button from the
Formatting toolbar.

This did it for me.

Thanks for your help,

John Goche
  #4  
Old January 1st 15, 01:15 PM
Leonardo Saturnino Ferrei Leonardo Saturnino Ferrei is offline
Junior Member
 
First recorded activity by WordBanter: Jan 2015
Posts: 1
Smile

THANK YOU!! YOUR MESSAGE HELPED ME A LOT!!!!!!!!

Quote:
Originally Posted by John Goche View Post
On Jul 14, 3:18*pm, "Jay Freedman" wrote:

Seehttp://sbarnhill.mvps.org/WordFAQs/CleanWebText.htm. (It doesn't matter
whether the text comes from the Web or elsewhere; the steps are the same.)


Thank you for your response. In Microsoft Word 2003 SP3 I opened the
text
document and did the following. First I right clicked on the toolbars
section
right under the menu bar to make sure that the standard toolbar was
toggled
on so that it is displayed. Then I clicked on the downwards arrow
found
on the far right of the standard toolbar, selected "Add or Remove
Buttons",
then selected "Standard", and then made sure the "Show All" button was
displayed by ensuring that a checkmark appeared next to it. Once the
button was visible on the standard toolbar I clicked on it. This
displayed
the line breaks as arrows shaped like the drawing appearing on the
enter key of most physical computer keyboards. Then under the
Edit menu I selected "Replace..." and under "Find what:" I
entered ^l^l and then under "Replace with:" I entered ^p^p
and then clicked on "Replace All". Then I selected "Replace..."
once again from the Edit menu and under "Find what:"
I entered ^l and under "Replace with:" I entered " " (a space)
and then clicked on "Replace All". Then I selected "Select All"
from the "Edit" menu and hit the justify button from the
Formatting toolbar.

This did it for me.

Thanks for your help,

John Goche
  #5  
Old July 9th 18, 01:40 PM
lukenlow lukenlow is offline
Junior Member
 
First recorded activity by WordBanter: Jun 2018
Posts: 4
Default

Thank you for describing your problem so clearly, I also encountered it, but could not formulate the text, you are well done 192.168.l.l
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to paste multiple lines from text editor to multiple rows of W KnightBall Tables 2 January 5th 09 07:13 AM
merging multiple text fields Oski Mailmerge 1 December 18th 07 12:21 AM
Merging one line out of multiple lines Sonja Mailmerge 3 November 16th 07 01:36 AM
Merging multiple lines jewell Mailmerge 3 December 21st 06 10:45 PM
Merging data from two consecutive access records in Word 2002 Frank Spade Mailmerge 3 December 17th 04 09:51 AM


All times are GMT +1. The time now is 11:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.