Hi!
I want to read a document with table(s) sequentially, i.e. paragraph by paragraph and when it is a table, detect it and read that table row by row.
I tried with this code
Dim oDok As Spire.Doc.Document
Dim oP As Spire.Doc.Documents.Paragraph
oDok = New Document()
oDok.LoadFromFile(sFil)
For Each oP In oDok.Sections(0).Paragraphs
sIn = oP.Text
Next
but when I come to a table in that document the table is not read but it jumps to the first paragraph after it.
Could anyone give me a hint how to iterate trough a document and get the text from every paragraph when it is a paragraph and from every cell when it is a table?
Thanks in advance