Sub DelEmptyLine()
Set Mydoc = ActiveDocument.Content
Do Until Not Mydoc.Find.Execute( _
Findtext:="^p^p", _
ReplaceWith:="^p", _
Replace:=wdReplaceAll)
Loop
End Sub
Sub DelEmptyLine()
Set Mydoc = ActiveDocument.Content
Do Until Not Mydoc.Find.Execute( _
Findtext:=" ^p", _
ReplaceWith:="^p", _
Replace:=wdReplaceAll)
Loop
Do Until Not Mydoc.Find.Execute( _
Findtext:="^p^p", _
ReplaceWith:="^p", _
Replace:=wdReplaceAll)
Loop
End Sub