From: Doug Robbins - Word MVP on
That only works if the lines were terminated by the use of Shift+Enter.

If that was not used (the text wrapped automatically), there will be no ^l
to replace.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Fumei2 via OfficeKB.com" <u53619(a)uwe> wrote in message
news:a8fcfecf9db6a(a)uwe...
> And if you really want to use VBA...
>
>
> Sub LineBreaksToParaMarks()
> Selection.HomeKey Unit:=wdStory
> With Selection.Find
> .Text = "^l"
> .Replacement.Text = "^p"
> .Execute Replace:=wdReplaceAll
> End With
> End Sub
>
> Gerry
>
> Fumei2 wrote:
>>"That means each "line" terminated by
>>a paragraph break {ENTER} not {SHIFT+ENTER}."
>>
>>A Shift+Enter is ^l in the Find/replace dialog.
>>An Enter (paragraph mark) is ^p
>>
>>What was wrong with my suggestion? Do a find/replace changing Shift+enter
>>to
>>Enter.
>>
>>Find: ^l
>>Replace ^p
>>
>>>Dear Robbins,
>>>
>>[quoted text clipped - 9 lines]
>>>> >> >> >
>>>> >> >> >David
>>
>
> --
> Gerry
>
> Message posted via OfficeKB.com
> http://www.officekb.com/Uwe/Forums.aspx/word-programming/201006/1
>