For Each p In currentDocument.Paragraphs If p.range.text.Trim().Length <> 0 Then list.Add(p.range.text) End If Next p currentIndex = currentIndex + 1 TextBox1.Text = list(currentIndex)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)