Dim app As New MSWord.Application try Dim doc = app.Documents.Open("d:\test.doc") For Each k As object In doc.Paragraphs If Len(Trim(k.Range.text)) = 1 Then k.Range.Delete Next doc.save app.quit catch ex As exception msgbox(ex.message) app.quit End try