Afternoon –
Am trying to edit a macro, but don’t know the correct syntax. I do a lot of copy/paste from the Web and find that most of the text comes over with manual line breaks. The macro below does delete those breaks and gives me what I need. But, when there is a manual line break on the next line, I want to change that into a paragraph mark.
I’ve used Find and Replace ( ^l^l ) ( ^p^p ) but am quite sure there must be a way to combine this with the macro below.
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = “^l”
.Replacement.Text = ” ”
.Forward = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
Thank you very much,
Curious