Hi
How to read Tables in a word document with content in vb.net.
Thanks
Anil K.
Hi Anil,
Dim doc As New Document(MyDir + “in.docx”)<o:p></o:p>
For Each table As Table In doc.GetChildNodes(NodeType.Table, True)
For Each row As Row In table.Rows
For Each cell As Cell In row.Cells
Console.WriteLine(cell.ToString(SaveFormat.Text))
Next
Next
Next
Hi,
Hi
Dim doc As New Document(MyDir + "in.docx")
For Each table As Table In doc.GetChildNodes(NodeType.Table, True)
'' Get nested tables
For Each nestedtable As Table In doc.GetChildNodes(NodeType.Table, True)
Next
Next
For Each table As Table In doc.GetChildNodes(NodeType.Table, True)
'' Get images from table
For Each shape As Shape In doc.GetChildNodes(NodeType.Shape, True)
If (shape.HasImage) Then
End If
Next
Next