Solved

How to format the scrambled paragraph

Posted on 2001-08-13
5
1,837 Views
Last Modified: 2009-12-16
Dear Experts,

I want to know how to format a scrambled paragraph in Word 2000.The example format is given below. I want to make the lines as a continuos one. Justify command is not usefull one in this stage...what i have to do..?

"Jahan. This is what
 is misinterpreted. (As
that the structure itself
was procured.) As soon
as construction began,
it was noticed by the
European travellers
who visited Norway and
the "
0
Comment
Question by:shanraj
5 Comments
 

Accepted Solution

by:
HotPink earned 100 total points
Comment Utility
The text has hard or soft returns at the end of each line. If there is no "space" there too, then you need to replace that return with a space.  Otherwise, you need to replace the return with nothing.

1. Turn on the ShowHide so that you can see the non-printing paragraph returns, tabs, etc. (By menu: Tools/Options/View..Formatting Marks...All)

If you see the paragraph return at the end of each line (backward P), then:
   . From the menu: Edit/Replace
   . Replace this:  ^p
   . Replace all
   . With this: <press the space bar here if you need a space>
   . Undo if that is not what you want.

If you see a backward arrow, that is a manual line break, or soft return.
   . From the menu: Edit//Replace
   . Replace this: <press the space bar here>
   . Replace all
   . Undo if that is not what you want

0
 
LVL 17

Expert Comment

by:calacuccia
Comment Utility
Hi HotPink,

Welcome to Experts-Exchange, I hope you'll find this site very enjoyable and knowledgeable as an expert participating.

As one of your fellow experts in the Office topic area, I just wanted to point out to you that although Experts-Exchange provides the option to choose between posting your solutions as comments or answers, in this Topic Area (MSOffice) we have completely abandonned the use of the 'Answer' option, unless in very special occasions.

The question asker can choose between all the comments to his/her question, so multiple contributions can often lead to a conclusion. Also, the questions which are in the 'Locked Questions' area (this is the place where all questions where someone 'answered' by using the 'Anser' option are positioned), are almost completely left unvisited by other questions, as it is not in the normal list of questions anymore.

Just a recommendation.
calacuccia
0
 
LVL 6

Expert Comment

by:Triskelion
Comment Utility
First select your text then...

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 8/14/01 by THines01
'
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "^l"
        .Replacement.Text = ""
        .Forward = True
        .Wrap = wdFindAsk
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "^p"
        .Replacement.Text = ""
        .Forward = True
        .Wrap = wdFindAsk
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
End Sub
0
 
LVL 6

Expert Comment

by:Triskelion
Comment Utility
I recorded that macro using the special characters feature in the find/replace dialog box.


Edit -> Replace ->
Find What = ^l (manual line break)

Then the same thing on the ^p (paragraph break)
0
 

Author Comment

by:shanraj
Comment Utility
Thank you very much Hot pink...the first solution is what i want.......


bye

Shanraj
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Have you ever had the experience that you had to follow 10 steps over and over again every time when you need to nicely forward an important email to your manager? Fear no more! With the help of the Quick Steps feature in Outlook 2010, your old chor…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now