Trying to move excessive paragraph gaps via this procedure.
Sub RemoveGaps()
wrdDoc.Content.Select
Selection.Find.ClearFormatting
Selection.Find
You don't need to fire whole sub but go back few lines like this:
Sub RemoveGaps()
Dim wrdDoc As Document
Set wrdDoc = ActiveDocument
wrdDoc.Content.Select
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
'oryginal
.Text = "^13^13"
.Replacement.Text = "^p"
.Forward = True
End With
GoHere:
Selection.Find.Execute Replace:=wdReplaceAll
If Selection.Find.Execute = True Then
GoTo GoHere
End If
End Sub
I tested it and it works fine with my Word 2010.