How do I globally find/replace; I enter ^p to remove the paramarks, but I
don't know the code to tell word to insert the space. The documents are far
to long to remove and replace hundreds of paragraph marks one by one. I
realize that once removed , the para marks are gone (unless the "undo"
feature is used). So, what I am asking is how to replace the paragraph marks
with a space.
Sub testx23()
Dim rdcm As Range
Set rdcm = ActiveDocument.Range
With rdcm.Find
.Text = Chr(13)
.Replacement.Text = " "
.Execute Replace:=wdReplaceAll
End With
End Sub
3. In the "Replace with" box, press the Spacebar once.
4. Replace All.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.