Solved

How to format the scrambled paragraph

Posted on 2001-08-13
5
1,874 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Accepted Solution

by:
HotPink earned 100 total points
ID: 6379755
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
ID: 6383714
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
ID: 6386262
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
ID: 6386270
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
ID: 6391542
Thank you very much Hot pink...the first solution is what i want.......


bye

Shanraj
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook Free & Paid Tools
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

738 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