14-07-22 05:19 PM
15-07-22 05:47 PM
18-07-22 10:27 PM
19-07-22 06:23 AM
Dim doc as Object = GetDocument(handle,documentname)
Dim range As Object
Dim Para As Microsoft.Office.Interop.Word.Paragraph
Dim table As New DataTable
table.Columns.Add("Bullets", GetType(String))
Dim blnStart as Boolean
blnStart = false
For Each Para In ActiveDocument.Paragraphs
If Para.Range.Text.Contains(strStartText) Then
blnStart = true
End If
If Para.Range.ListFormat.ListType = wdListBullet and blnStart Then
table.Rows.Add(Para.Range.Text)
If Para.Range.Text.Contains(strEndText) Then
exit for
End If
Next Para
dtResult = table
20-07-22 12:22 AM